summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-01-24 22:07:46 +0100
committermalc <av1474@comtv.ru>2011-01-25 19:56:53 +0300
commitbf1064b587321b1af02e444201215141bd049c97 (patch)
tree541a9a8f5bdff677caac51ab14c79bc66cb0ea20
parente6d16fa439aeebd34e135edd3e29d4a2db6b1a33 (diff)
pulseaudio: tweak config
Zap unused divisor field. Raise the buffer size default. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
-rw-r--r--audio/paaudio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c
index 75e3ea0a8c..fb4510e426 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,