All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Brad Smith" <brad@comstyle.com>
Subject: Re: [Qemu-devel] [PATCH 4/4] [RfC] audio: probe audio drivers by default
Date: Wed, 23 Jan 2019 11:24:52 +0100	[thread overview]
Message-ID: <20190123102452.x5iyl77ul52wayof@sirius.home.kraxel.org> (raw)
In-Reply-To: <484e921f-7cee-755d-12a9-02e8bf182fa4@redhat.com>

On Wed, Jan 23, 2019 at 09:27:48AM +0100, Thomas Huth wrote:
> On 2019-01-23 09:00, Gerd Hoffmann wrote:
> > 
> > This is RfC because we might look at the ordering.  On linux we probably
> > want prefer alsa over oss.
> Yes, please! I've run into the trap a couple of times already: OSS
> headers were available, but these days the OSS compatibility kernel
> modules are not loaded anymore by default. So you compile QEMU with OSS
> support and then wonder why you do not get any audio output at all...
> 
> IMHO we should put OSS as last item in the list on Linux nowadays.

Tweaked the pulseaudio driver to check whenever the damon pidfile is
present before trying to initialize.  With that in place we can move
pulse to be first in the list, without having pulse throwing error
messages when it can't connect the server.

So the linux ordering is this now:

	audio_drv_list="try-pa try-alsa try-sdl oss"

Requests / suggestions for other guests?

Probing pulseaudio first probably makes sense everywhere (when
available).  Most BSDs have both sdl and oss, which one should be
preferred here?

cheers,
  Gerd

      parent reply	other threads:[~2019-01-23 10:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23  8:00 [Qemu-devel] [PATCH 0/4] audio: rework driver probing Gerd Hoffmann
2019-01-23  8:00 ` [Qemu-devel] [PATCH 1/4] audio: use pkg-config Gerd Hoffmann
2019-01-23  8:30   ` Thomas Huth
2019-01-23  8:00 ` [Qemu-devel] [PATCH 2/4] audio: allow optional audio drivers Gerd Hoffmann
2019-01-23  8:00 ` [Qemu-devel] [PATCH 3/4] audio: use try-sdl and try-pa for openbsd Gerd Hoffmann
2019-01-23  8:00 ` [Qemu-devel] [PATCH 4/4] [RfC] audio: probe audio drivers by default Gerd Hoffmann
2019-01-23  8:27   ` Thomas Huth
2019-01-23  9:36     ` Daniel P. Berrangé
2019-01-23  9:50       ` Thomas Huth
2019-01-23 10:12         ` Daniel P. Berrangé
2019-01-23 10:36           ` Kamil Rytarowski
2019-01-23 10:59             ` Peter Maydell
2019-01-23 11:10               ` Kamil Rytarowski
2019-01-23 11:16                 ` Peter Maydell
2019-01-23 11:30                   ` Kamil Rytarowski
2019-01-23 12:20                 ` Gerd Hoffmann
2019-01-23 12:45                   ` Kamil Rytarowski
2019-01-23 13:59                     ` Gerd Hoffmann
2019-01-23 14:45                       ` Kamil Rytarowski
2019-01-23 14:54                       ` Brad Smith
2019-01-23 15:12                         ` Gerd Hoffmann
2019-01-23 15:20                           ` Kamil Rytarowski
2019-01-24  6:38                             ` Gerd Hoffmann
2019-01-24  6:51                               ` Thomas Huth
2019-01-24 10:06                               ` Kamil Rytarowski
2019-01-23 10:16         ` Kamil Rytarowski
2019-01-23 10:24     ` Gerd Hoffmann [this message]

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=20190123102452.x5iyl77ul52wayof@sirius.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=brad@comstyle.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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.