Received: from eggs.gnu.org ([2001:4830:134:3::10]:45489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkYJ-0004Vx-Kc for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:40:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzkYG-0002As-4T for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:40:15 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:60010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkYF-0002AZ-UF for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:40:12 -0400 Message-ID: <556D961A.2090209@msgid.tls.msk.ru> Date: Tue, 02 Jun 2015 14:40:10 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <556C6039.7040408@msgid.tls.msk.ru> <1433232504.1637.20.camel@nilsson.home.kraxel.org> <556D7370.5020303@msgid.tls.msk.ru> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 00/12] Audio backend cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?B?IkvFkXbDoWfDsywgWm9sdMOhbiI=?= , Gerd Hoffmann , QEMU Developers 02.06.2015 13:45, Peter Maydell wrote: > On 2 June 2015 at 10:12, Michael Tokarev wrote: >> SDL audio has been the default in Debian for at least two >> debian releases because of that, we explicitly used >> --audio-drv-list=sdl,... to list sdl first. Now we have >> pa first, but I don't really remember why we changed it. > > I think the important thing here is to avoid ever using > any of the audio subsystems' back-compatibility layers. > For instance PA can provide an alsa-compatible interface, > but if you use it you've just added an extra layer of buffering > (and a random thread) to your system. So at a distro I would > expect there to be a "this is the standard audio subsystem" > distro-wide decision, and the QEMU packages would then follow > that. Yes, that's true. As long as the native version actually works. As I said before, initially it didn't, and sdl was the only driver that worked. Maybe in 0.12, maybe even before, I don't remember anymore, but the fact remains, in our testing only sdl was more or less adequate, maybe due to pure luck or phase of moon. Later native drivers started working, so we started using native driver which is default to the OS, which is pulseaudio (installed on all desktop environments) or, failing that, alsa (native to linux). Thanks, /mjt