* dmix and dsnoop
@ 2010-02-14 7:26 Raymond Yau
0 siblings, 0 replies; only message in thread
From: Raymond Yau @ 2010-02-14 7:26 UTC (permalink / raw)
To: alsa-devel
why do dmix and dsnoop 's slave alway open subdevice 0 ?
for those hardware mixing sound cards which has two or more playback
subdevices or hda-intel which may have 3 recording subdevices
when subdevice 0 is opened by another application ,
dmix / dsnoop always fail even when there are available subdevices
aplay -v -Dplug:dmix test.wav
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:654: audio open error: Device or resource busy
arecord -v -Dplug:dsnoop:1 -f cd -d20 tt.wav
ALSA lib pcm_dsnoop.c:593:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:654: audio open error: Device or resource busy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-14 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-14 7:26 dmix and dsnoop Raymond Yau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).