From: Anthony Liguori <anthony@codemonkey.ws>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Anthony Liguori <aliguori@amazon.com>,
Andreas Faerber <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH] ossaudio: do not enable by default
Date: Tue, 05 Nov 2013 11:57:57 -0800 [thread overview]
Message-ID: <87k3gmwri2.fsf@codemonkey.ws> (raw)
In-Reply-To: <1383558557.8610.23.camel@nilsson.home.kraxel.org>
Gerd Hoffmann <kraxel@redhat.com> writes:
> On So, 2013-11-03 at 08:45 -0800, Anthony Liguori wrote:
>> Modern Linux's no longer support /dev/dsp so enabling it by
>> default causes audio failures on newer Linux distros.
>
> That will break sound on BSD.
>
> I think we should do something like this instead:
>
> --- a/configure
> +++ b/configure
> @@ -554,7 +554,7 @@ Haiku)
> LIBS="-lposix_error_mapper -lnetwork $LIBS"
> ;;
> *)
> - audio_drv_list="oss"
> + audio_drv_list="pa alsa oss"
> audio_possible_drivers="oss alsa sdl esd pa"
> linux="yes"
> linux_user="yes"
>
> i.e. build pulseaudio and alsa by default on linux and prioritize them
> over oss.
This patch just requires that you explicitly select oss so it's not
breaking audio on BSD.
Since the oss code can fail to initialize without handling it
gracefully, it really cannot be default on any platform.
Same problem would occur on BSD if the permissions on /dev/dsp were
restrictive.
Regards,
Anthony Liguori
>
> cheers,
> Gerd
next prev parent reply other threads:[~2013-11-05 19:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-03 16:45 [Qemu-devel] [PATCH] ossaudio: do not enable by default Anthony Liguori
2013-11-03 17:12 ` Andreas Färber
2013-11-03 17:47 ` Anthony Liguori
2013-11-04 9:49 ` Gerd Hoffmann
2013-11-05 19:57 ` Anthony Liguori [this message]
2013-11-05 20:18 ` Peter Maydell
2013-11-05 20:34 ` Peter Maydell
2013-11-06 9:18 ` Gerd Hoffmann
2013-11-06 10:48 ` Peter Maydell
2013-11-06 11:15 ` Gerd Hoffmann
2013-11-06 14:54 ` Anthony Liguori
2013-11-06 15:00 ` Peter Maydell
2013-11-06 15:20 ` Gerd Hoffmann
2013-11-06 17:01 ` Anthony Liguori
2013-11-07 11:33 ` Gerd Hoffmann
2013-11-04 11:06 ` Peter Maydell
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=87k3gmwri2.fsf@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=afaerber@suse.de \
--cc=aliguori@amazon.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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).