From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38313 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhTdn-0008PP-2l for qemu-devel@nongnu.org; Mon, 24 Jan 2011 16:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhTdj-0006lh-Dn for qemu-devel@nongnu.org; Mon, 24 Jan 2011 16:07:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhTdj-0006lO-4H for qemu-devel@nongnu.org; Mon, 24 Jan 2011 16:07:55 -0500 From: Gerd Hoffmann Date: Mon, 24 Jan 2011 22:07:46 +0100 Message-Id: <1295903266-6458-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1295903266-6458-1-git-send-email-kraxel@redhat.com> References: <1295903266-6458-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RESEND PATCH 3/3] pulseaudio: 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 75e3ea0..fb4510e 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