From patchwork Tue Oct 13 14:08:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 35861 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BA48EB7BA1 for ; Wed, 14 Oct 2009 01:12:02 +1100 (EST) Received: from localhost ([127.0.0.1]:56479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxi6Y-0005T0-Gs for incoming@patchwork.ozlabs.org; Tue, 13 Oct 2009 10:11:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxi62-0005Sn-AF for qemu-devel@nongnu.org; Tue, 13 Oct 2009 10:11:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxi5x-0005RD-Lb for qemu-devel@nongnu.org; Tue, 13 Oct 2009 10:11:25 -0400 Received: from [199.232.76.173] (port=59502 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxi5x-0005R6-FP for qemu-devel@nongnu.org; Tue, 13 Oct 2009 10:11:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17384) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxi5w-0000JZ-UE for qemu-devel@nongnu.org; Tue, 13 Oct 2009 10:11:21 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9DEB3ll021922; Tue, 13 Oct 2009 10:11:03 -0400 Received: from redhat.com (vpn-6-79.tlv.redhat.com [10.35.6.79]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n9DEB0NX025475; Tue, 13 Oct 2009 10:11:02 -0400 Date: Tue, 13 Oct 2009 16:08:55 +0200 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org, av1474@comtv.ru Message-ID: <20091013140855.GA17892@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Subject: [Qemu-devel] [PATCHv2] qemu: allow pulseaudio to be the default X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We're seeing various issues with the SDL audio backend and want to switch to the pulseaudio backend. See e.g. https://bugzilla.redhat.com/495964 https://bugzilla.redhat.com/519540 https://bugzilla.redhat.com/496627 The pulseaudio backend seems to work well, so we should allow it to be selected as the default. Signed-off-by: Mark McLoughlin Signed-off-by: Michael S. Tsirkin --- Changes from v1: updated to qemu.git master head. audio/paaudio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/audio/paaudio.c b/audio/paaudio.c index 18292eb..9118ece 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -519,7 +519,7 @@ struct audio_driver pa_audio_driver = { .init = qpa_audio_init, .fini = qpa_audio_fini, .pcm_ops = &qpa_pcm_ops, - .can_be_default = 0, + .can_be_default = 1, .max_voices_out = INT_MAX, .max_voices_in = INT_MAX, .voice_size_out = sizeof (PAVoiceOut),