From patchwork Fri Oct 29 12:55:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 69590 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 1250CB70A7 for ; Sat, 30 Oct 2010 00:51:18 +1100 (EST) Received: from localhost ([127.0.0.1]:47222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBpMR-0000Ho-EE for incoming@patchwork.ozlabs.org; Fri, 29 Oct 2010 09:51:15 -0400 Received: from [140.186.70.92] (port=58216 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBomj-00062g-J7 for qemu-devel@nongnu.org; Fri, 29 Oct 2010 09:15:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBoV4-0006tJ-Iq for qemu-devel@nongnu.org; Fri, 29 Oct 2010 08:57:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBoV4-0006sv-8r for qemu-devel@nongnu.org; Fri, 29 Oct 2010 08:56:06 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9TCtxSW022035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Oct 2010 08:55:59 -0400 Received: from rincewind.home.kraxel.org (vpn1-7-246.ams2.redhat.com [10.36.7.246]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9TCtvGC000666; Fri, 29 Oct 2010 08:55:58 -0400 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 8E8024512F; Fri, 29 Oct 2010 14:55:56 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Fri, 29 Oct 2010 14:55:55 +0200 Message-Id: <1288356955-6019-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1288356955-6019-1-git-send-email-kraxel@redhat.com> References: <1288356955-6019-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: fengguang.wu@intel.com, Gerd Hoffmann Subject: [Qemu-devel] [PATCH 3/3] pulseaudio: tweak config 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 Zap unused divisor field. Raise the buffer size default. Signed-off-by: Gerd Hoffmann --- audio/paaudio.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/audio/paaudio.c b/audio/paaudio.c index 61af0c5..34bde23 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -33,13 +33,11 @@ typedef struct { static struct { int samples; - int divisor; char *server; char *sink; char *source; } conf = { - .samples = 1024, - .divisor = 2, + .samples = 4096, }; static void GCC_FMT_ATTR (2, 3) qpa_logerr (int err, const char *fmt, ...) @@ -478,12 +476,6 @@ struct audio_option qpa_options[] = { .descr = "buffer size in samples" }, { - .name = "DIVISOR", - .tag = AUD_OPT_INT, - .valp = &conf.divisor, - .descr = "threshold divisor" - }, - { .name = "SERVER", .tag = AUD_OPT_STR, .valp = &conf.server,