mirror of https://gitee.com/openkylin/qemu.git
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 {
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue