All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: xiphmont@xiph.org
Cc: alsa-devel@alsa-project.org, vorbis-dev@xiph.org,
	Clemens Ladisch <clemens@ladisch.de>
Subject: Re: [Vorbis-dev] libao problem (Re: No dmix/dsnoop on Intel ICH4/5 by default?)
Date: Sun, 24 Mar 2013 18:25:10 +0100	[thread overview]
Message-ID: <514F36F6.8080806@gmail.com> (raw)
In-Reply-To: <CACrD=+9THyqQKPj_V6Oeg1FaJwj8CRZ1YC+8SxFqR_bGbmpDGg@mail.gmail.com>

On 07-03-13 09:20, xiphmont@xiph.org wrote:

>> I can, now, set it to dev=default manually but what this means is
>> that libao-1.1.0 by default kills alsa default software mixing.
>
> The only alternative is to have any attempt at playing surround
> always fail to play more than stereo on a default setup.

Correct me if I'm wrong, but currently I believe the libao setup is to 
try, depending on the number of channels of the input:

channels : device
=================

7, 8     : surround71
6, 5     : surround51
4, 3     : surround40
2        : front
1        : default

The only thing I personally had an actual issue with is using "front" 
for stereo rather than "default". I don't seem able to come up with a 
compelling reason why it should be "front" myself, so one tweak could 
perhaps be to only change the stereo device back to "default"?

Frankly, on my system libao is (actively) used only by ogg123 and even 
for me, your average back-in-the-day, technology-obsoletist, any even 
halfway involved audio needs are these days met not by anything that 
involves libao. As such, I just need the most basic setup to be, well, 
basic.

Currently arch linux is by the way shipping with an /etc/libao.conf that 
contains dev=default due to this issue. Trying to look at it from your 
side, I suppose the most consistent solution might be to introduce 
dev1=, dev2=, dev34=, dev56= and dev78= settings into the libao 
configuration (with for the ALSA plugin by default dev1=dev2=default 
still) -- but I'll butt out of that.

If the stereo device can be "default" by default rather than "front" 
then I guess that goes a long way towards this issue being a non-issue.

Remainder left in for possible comments from the ALSA side:

> The bug reports about _that_ prompted the change to the current
> behavior.
>
>> These days everybody seems to have regressed to using a soundserver
>> again anyway
>
> Part of the reason for that is that ALSA provides so precious little
> in the way of programmatic configuration discovery.  So far as I can
> tell, each and every user gets to script/configure his own setup, and
> then also explicitly configure the applications what to do.
> Applications can't even tell if a default setup is in use.  It's all
> plug-n-pray.
>
> If that's not the case, I'd love to hear about it. I agree the
> current behavior sucks.
>
> Monty

  reply	other threads:[~2013-03-24 17:25 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   ` libao problem (Re: No dmix/dsnoop on Intel ICH4/5 by default?) Rene Herman
2013-01-17 12:12     ` Clemens Ladisch
2013-01-17 12:44       ` Rene Herman
2013-03-07  8:20         ` [Vorbis-dev] " xiphmont
2013-03-24 17:25           ` Rene Herman [this message]
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=514F36F6.8080806@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=vorbis-dev@xiph.org \
    --cc=xiphmont@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.