On Mon, 8 Apr 2002, joy ping wrote:
> On Sun, 7 Apr 2002, [ISO-8859-1] Pasi Kärkkäinen wrote: > > > Hmm.. I was thinking more about using many oss apps at the same time. > > > > What's wrong with allowing same soundcard opened by multiple programs > > and the streams from them mixed (in sw or hw) IN alsa? > > > > This way you could use many oss/alsa apps directly without soundservers or > > other extra layers.. > > > > If I would be interested implementing something like this, where should I > > start looking at the code..? > > look into alsa-lib. get the most 'fresh' code per cvs, cause there are > some changes to the current tarball. look into the different plugins. i > assume that you have also take a look in the alsa-core, how the api is > organized. maybe you can add a shared-access-plugin ;). > im not sure, but i think this will be really difficult, cause the alsa-api > has a kind of 'natural' lock- and blocking mechanism. means only one sound > stream could be sent to an available channel. > Hmm.. this makes me think how to create "virtual channels" but maybe I'll just believe you and stop whining about this and buy better soundcard :) > the most easiest way would be > to improve aserver, i think. i forget to mention that it is also possible > to use the plugins with the oss-emulation, you only have to call the > plugin 'dsp0' than it is usable by oss-apps too. > > So.. at least first solution would be to write some kind of shared-access plugin. - Pasi kärkkäinen ^ . . Linux / - \ Choice.of.the .Next.Generation. _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user