[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/6] pa: tweak config
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 4/6] pa: tweak config |
Date: |
Wed, 27 Oct 2010 18:04:33 +0200 |
Zap unused divisor field.
Raise the buffer size default.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
audio/paaudio.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index d019978..d13d1ac 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,
--
1.7.1
[Qemu-devel] [PATCH 6/6] Add Intel HD Audio support to qemu., Gerd Hoffmann, 2010/10/27
Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series., malc, 2010/10/27