Re: [gentoo-user] alsa and multiple sources of sound...

2019-05-25 Thread gentoo-user
[2019-05-25 09:06] tu...@posteo.de
>
> part   text/plain 670
> Hi,
Hi,

> I thought, alsa could handle multiple sources of sound
> simultanously...
That only works if you have dmix enabled and set all audio sources to use the
dmix devices as the default audio device. If you don't have an alsa
configuration in ~/.asoundrc or /etc/asound.conf dmix should be enabled
by default, in which case it might be that one of the audio sources is
grabbing the hardware device directly instead of going through the
default device. See [1] for details.

[1]: https://alsa.opensrc.org/Dmix



[gentoo-user] alsa and multiple sources of sound...

2019-05-25 Thread tuxic
Hi,

I thought, alsa could handle multiple sources of sound
simultanously...

I was playing around witht he FAUST programming language (which is
a functional programming language for DSP kind of things).
>From a input script this language compiles an executable, which
(beside other targets) speaks to alsa.

But:
For example when running blender (which connects to alsa) and 
the trying one of FAUST generated executables, the latter saus
"alsa error -16 : Device or resource busy".
For me it looks like alsa could not handle multiple sources
at the same time.

Is this dependant on a configuration "something" or is alsa
really limited that way or..?

Cheers!
Meino