At Thu, 04 Mar 2004 17:02:09 +0100, Ove Kaaven wrote: > > And for sound cards capable of hardware mixing, is there a way to have > two PCMs that share a buffer, but can be still be started and stopped > independently?
such a hardware also doesn't share the "buffer". it supports the h/w mixing but each stream needs to have indepednet buffer. > For example, if I've loaded an explosion sound into a PCM > buffer, how can I start a lot of explosion sounds, without wasting a lot > of RAM? Perhaps there's also a way to specify that this sound should be > loaded into the sound card's onboard memory, instead of streamed from > system RAM? it sounds like wavetable function. currently, it's designed for MIDI-like apps, but it might be used for games, too. anyway, it's under development (for a long long time)... or, with PCM API, you can open several PCMs in a single application. if the number of voices are limited, it won't be too heavy. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel