Re: [linux-audio-dev] optimization

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] optimization
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: ke tammi  12 2000 - 19:56:39 EST


> it's multithreaded, however, one thread handles the midi io (the
>main one which creates the other via pthread_create), the other mixes and
>outputs to the sound card via write. the only interaction between the two
>is a note table, which is not synchronized.
> should i move the write to the sound card into another thread
>which only handles card io?
> all the samples are loaded into memory, and mixed from there
>(i don't believe it is running into swap space).

if everything is in memory, then you have some higher-level design
problem, i think. benno reports writing 60 tracks *from disk* in
realtime, using an EIDE drive on a relatively low-powered processor.

but i don't know where to suggest you look, except for the usual
profiling with gprof.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:23:26 EST