[alsa-devel] snd_pcm_open device names

Eliot Blennerhassett linux at audioscience.com
Thu Mar 6 01:13:51 CET 2008


On Thursday 06 March 2008 12:33:54 Reiner wrote:
> with
> snd_pcm_open (handle, "default", SND_PCM_STREAM_PLAYBACK, 0)
> I can open a device twice
> with
> snd_pcm_open (handle, "plughw:0,0", SND_PCM_STREAM_PLAYBACK, 0)
> the 2. call fails with error -16.
>
> The docu says:
> The default device is equal to plug plugin with hw plugin as slave.

Probably the doc is in error. The default device these days is usually asym 
(dmix+dsnoop) which allows the multiple opens.

--
Eliot
www.audioscience.com


More information about the Alsa-devel mailing list