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>
This commit is contained in:
parent
e6d16fa439
commit
bf1064b587
@ -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[] = {
|
|||||||
.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,
|
||||||
|
Loading…
Reference in New Issue
Block a user