[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] how use qemu soundhw
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] how use qemu soundhw |
Date: |
Sun, 29 Jun 2014 12:16:12 +0100 |
On 29 June 2014 05:08, Programmingkid <address@hidden> wrote:
> On Jun 28, 2014, at 7:04 PM, Peter Maydell wrote:
>> Our default of OSS made sense at the time, but since I think
>> most modern Linux distros have moved away from it it
>> might be worth reconsidering that choice. (The trouble is,
>> what do we pick instead? Any default is probably going to
>> be wrong for at least some people.)
>
> We could add code to the configure script so it dynamically decides
> which sound system to use. The code could test for ALSA, OSS, or
> Pulse Audio support and set one of them to the backend audio system.
Yeah, some kind of improved autodetection would be good,
but there are a couple of issues:
(1) you really want to do it at runtime, not configure time
(2) it's not uncommon for half these audio libraries to include
backwards compatibility support for each others' APIs.
Even though you can use PulseAudio's ALSA back-compat
layer, it's a worse choice than using PulseAudio directly
because it is (in my experience) buggier and adds latency.
Still, we could certainly do a better job than we do currently.
thanks
-- PMM