]> git.proxmox.com Git - qemu.git/commitdiff
pulseaudio: tweak config
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jan 2011 21:07:46 +0000 (22:07 +0100)
committermalc <av1474@comtv.ru>
Tue, 25 Jan 2011 16:56:53 +0000 (19:56 +0300)
Zap unused divisor field.
Raise the buffer size default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
audio/paaudio.c

index 75e3ea0a8c878c0da74638bef2f50e78a08ec39e..fb4510e426cbe8fe4e46121147497a11465845ba 100644 (file)
@@ -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, ...)
@@ -477,12 +475,6 @@ struct audio_option qpa_options[] = {
         .valp  = &conf.samples,
         .descr = "buffer size in samples"
     },
-    {
-        .name  = "DIVISOR",
-        .tag   = AUD_OPT_INT,
-        .valp  = &conf.divisor,
-        .descr = "threshold divisor"
-    },
     {
         .name  = "SERVER",
         .tag   = AUD_OPT_STR,