:: Re: [DNG] multichannel audio i/o ma…
Página Principal
Delete this message
Reply to this message
Autor: Joel Roth
Data:  
Para: dng
Assunto: Re: [DNG] multichannel audio i/o management w/o pulse/dbus
Gregory Nowak wrote:
tilt! wrote:
> > Hello,
> >
> > subject says it all.
> >
> > Are there currently ongoing efforts to have that?
> >
> > If no, I will start one, if yes, I want to join it.
>
> How about alsa/dmix? Some folks here have mentioned oss4 before, but I
> haven't used that myself.


Regarding dmix:

A very interesting and potentially extremely useful aspect
of this plugin is using it combined with the default plugin
name [now default behavior IIUC.] In theory this means all
applications that have native ALSA support will share the
sound device. In practice not many applications are able to
take advantage of this functionality yet.

source: http://www.alsa-project.org/main/index.php/Asoundrc

Dmix is enabled by default for soundcards which do not
support hardware mixing. Dmix is not enabled by default for
digital output (S/PDIF) and will require the configuration
snippet below....

source: https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

There is a limitation, is that the app(s) have to access the
soundcard via named PCM device:

ecasound -i test.wav -o alsa,default # multiple invocations okay

Direct access to soundcard doesn't get the dmix plugin, so
only one app has access at any given time.

  ecasound -i test.wav -o alsa,hw:0,0    # exclusive access required


What dmix doesn't do (and pulseaudio does) is provide a
separate volume control for each application.

cheers,

Joel

> Greg
>
>
> --
> web site: http://www.gregn.net
> gpg public key: http://www.gregn.net/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> If we haven't been in touch before, e-mail me before adding me to your contacts.
>
> --
> Free domains: http://www.eu.org/ or mail dns-manager@???
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


--
Joel Roth