From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: PCM questions Date: Thu, 04 Mar 2004 19:47:04 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1078416129.1865.868.camel@renegade> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1078416129.1865.868.camel@renegade> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Ove Kaaven Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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