提交 bf1064b5 编写于 作者: G Gerd Hoffmann 提交者: malc

pulseaudio: tweak config

Zap unused divisor field.
Raise the buffer size default.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Nmalc <av1474@comtv.ru>
上级 e6d16fa4
...@@ -33,13 +33,11 @@ typedef struct { ...@@ -33,13 +33,11 @@ typedef struct {
static struct { static struct {
int samples; int samples;
int divisor;
char *server; char *server;
char *sink; char *sink;
char *source; char *source;
} conf = { } conf = {
.samples = 1024, .samples = 4096,
.divisor = 2,
}; };
static void GCC_FMT_ATTR (2, 3) qpa_logerr (int err, const char *fmt, ...) static void GCC_FMT_ATTR (2, 3) qpa_logerr (int err, const char *fmt, ...)
...@@ -477,12 +475,6 @@ struct audio_option qpa_options[] = { ...@@ -477,12 +475,6 @@ struct audio_option qpa_options[] = {
.valp = &conf.samples, .valp = &conf.samples,
.descr = "buffer size in samples" .descr = "buffer size in samples"
}, },
{
.name = "DIVISOR",
.tag = AUD_OPT_INT,
.valp = &conf.divisor,
.descr = "threshold divisor"
},
{ {
.name = "SERVER", .name = "SERVER",
.tag = AUD_OPT_STR, .tag = AUD_OPT_STR,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册