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 From: Gerd Hoffmann 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> Subject: [Qemu-devel] [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: fengguang.wu@intel.com, 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 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, -- 1.7.1