about PCM devices

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

 



Greetings all,

  I am very new to ALSA developing, some times I found my program get
a "snd_pcm_open with device 'default': Device or resource busy" error
if some other applications was using ALSA at the mean time (for
example virtualbox), but totem player can co-exist with the ALSA-using
application very well, what is the reason?

I tried play a wav file when there is another ALSA-using application
such as totem :

  aplay -D default test.wav

everything went fine, but with "-D hw:0,0", "-D plughw:0,0", the
device will be busy, with "-D hw:0,1" or "-D plughw:0,1", the device
won't be busy but you can hear nothing, the documentation explains:
"The default device is equal to plug plugin with hw plugin as slave.",
so why "-D plughw:0,0" won't work? Thanks very much!


Cheers,
Deephay
_______________________________________________
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