From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42417 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB8UW-0005PK-RG for qemu-devel@nongnu.org; Wed, 27 Oct 2010 12:04:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB8US-0007HU-8j for qemu-devel@nongnu.org; Wed, 27 Oct 2010 12:04:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB8US-0007H4-2U for qemu-devel@nongnu.org; Wed, 27 Oct 2010 12:04:40 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9RG4cZH029316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Oct 2010 12:04:39 -0400 From: Gerd Hoffmann Date: Wed, 27 Oct 2010 18:04:33 +0200 Message-Id: <1288195475-3807-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1288195475-3807-1-git-send-email-kraxel@redhat.com> References: <1288195475-3807-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 4/6] pa: tweak config List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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 d019978..d13d1ac 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, -- 1.7.1