From: Raymond Yau <superquad.vortex2@gmail.com>
To: alsa-devel@alsa-project.org
Subject: dmix and dsnoop
Date: Sun, 14 Feb 2010 15:26:08 +0800 [thread overview]
Message-ID: <4f3252891002132326n3aa31c0aoa6742c49c0117039@mail.gmail.com> (raw)
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
reply other threads:[~2010-02-14 7:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f3252891002132326n3aa31c0aoa6742c49c0117039@mail.gmail.com \
--to=superquad.vortex2@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).