Unable to open plughw:0,0 from user program.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am unable to use plughw:0,0 as a device string while calling
err = snd_pcm_open (&alsa_dev, hw_from_default, SND_PCM_STREAM_PLAYBACK, 0);

The same call works with hw_from_default == 'default', but fails when it 
is 'plughw:0,0'.
The error is
cannot open audio device "plughw:0,0" (Device or resource busy)

I am using the latest snapshot of alsa-lib, alsa-lib20070821.  I tried 
debugging but I cannot trace through the macros.  As near as I can tell 
there have been no changes to alsa.conf, and this worked just fine 
before the latest upgrade alsa package alsa-lib.1.0.14-3

Is this a deliberate change in alsa that is known about, and is there a 
way to still get the functionality?

Thanks.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux