Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: stan <stanl@cox.net>
To: ALSA Developers <alsa-devel@alsa-project.org>
Subject: Unable to open plughw:0,0 from user program.
Date: Thu, 23 Aug 2007 11:44:56 -0700	[thread overview]
Message-ID: <46CDD5A8.3000006@cox.net> (raw)

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.

             reply	other threads:[~2007-08-23 18:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23 18:44 stan [this message]
2007-08-23 18:48 ` Unable to open plughw:0,0 from user program stan
2007-08-23 19:38 ` Takashi Iwai
2007-08-23 21:02   ` stan
2007-08-23 21:29     ` Lee Revell
2007-08-23 21:50       ` stan
2007-08-23 22:13         ` Lee Revell
2007-08-23 22:31           ` stan

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=46CDD5A8.3000006@cox.net \
    --to=stanl@cox.net \
    --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