[alsa-devel] default is working, but hw:0,0 is do not...

Dmitrij K kdiman at live.ru
Tue Jan 24 20:15:13 CET 2012


Hi all.

I have problem with openning a device for playback.


this is working code:
snd_pcm_open(&handle, "default", SND_PCM_STREAM_PLAYBACK, 0);


but this is not working:
snd_pcm_open(&handle, "hw:0,0", SND_PCM_STREAM_PLAYBACK, 0);

I get this is: Device or resource busy


PS: I have been started the `phonon' (KDE sound daemon), and the amarok (audio 
player).


My question: what I need to do for correct open "hw:0,0" for multiply playback 
?


Thanks.

The Best Regards.


More information about the Alsa-devel mailing list