All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org, vorbis-dev@xiph.org
Subject: libao problem (Re: No dmix/dsnoop on Intel ICH4/5 by default?)
Date: Thu, 17 Jan 2013 11:22:27 +0100	[thread overview]
Message-ID: <50F7D0E3.3020401@gmail.com> (raw)
In-Reply-To: <50F71312.1000009@ladisch.de>

On 16-01-13 21:52, Clemens Ladisch wrote:

> Rene Herman wrote:

>> I'm out of touch of with alsa -- but should dmix/dsnoop still be
>> enabled by default on hardware that doesn't do hardware mixing?
>
> Yes.
>
>> I believe that it should be from /usr/share/alsa/cards/ICH4.conf,
>> but I don't get mixing on this setup when using the "default"
>> pcm...
>
> What's the output of "aplay -v something.wav"?

I won't bother you with that, since things do in fact work with aplay. 
It seems I'm looking at a libao problem.

Specifically: I can mix as many streams as I want using just "aplay" but 
if I start by playing one track with "ogg123" (which uses a default, 
unconfigured libao as its backend), I can't start a second ogg123, which 
then says:

===
ao_alsa WARNING: Unable to open surround playback.  Trying default device...
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ao_alsa ERROR: Unable to open ALSA device 'default' for playback => 
Device or resource busy
ERROR: Cannot open device alsa.
===

I CAN still start an "aplay" at this point though. Moreover, things get 
weirder when I start with aplay. With one aplay running, I CAN start two 
additional ogg123 instances.

... so, err, ehm, err, what? :-)

This now seems at best related to ALSA in a secondary manner, and I'm 
CCing this to vorbis-dev (which I believe is the right email contact for 
libao?) but if you know of something of interest...

For vorbis-dev: this is on arch linux, (standard) kernel 3.6.11-1-ARCH, 
alsa-{lib,plugins,utils}-1.0.26-1, libao-1.1.0-2 and vorbis-tools-1.4.0-3.

Regards,
Rene

  reply	other threads:[~2013-01-17 10:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 19:26 No dmix/dsnoop on Intel ICH4/5 by default? Rene Herman
2013-01-16 20:52 ` Clemens Ladisch
2013-01-17 10:22   ` Rene Herman [this message]
2013-01-17 12:12     ` libao problem (Re: No dmix/dsnoop on Intel ICH4/5 by default?) Clemens Ladisch
2013-01-17 12:44       ` Rene Herman
2013-03-07  8:20         ` [Vorbis-dev] " xiphmont
2013-03-24 17:25           ` Rene Herman
2013-03-24 18:00             ` [alsa-devel] " xiphmont
2013-03-24 18:50               ` [Vorbis-dev] " Clemens Ladisch
2013-03-24 19:43                 ` [alsa-devel] " xiphmont
2013-03-24 20:01                   ` [Vorbis-dev] " Rene Herman
2013-03-24 21:28                 ` Alan Horstmann

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=50F7D0E3.3020401@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=vorbis-dev@xiph.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.