summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-02 03:19:30 +0400
committermalc <av1474@comtv.ru>2009-10-02 03:19:47 +0400
commitde2ca4fbb4cc1fdb31a9a1136b9b6bf9d045dd41 (patch)
treea626cfc538d3c0a7aa3c5e3d27bb31a70c6adf90 /audio
parentoss/alsa: Do not invoke UB described in 7.15.1.1 (diff)
downloadqemu-kvm-de2ca4fbb4cc1fdb31a9a1136b9b6bf9d045dd41.tar.gz
qemu-kvm-de2ca4fbb4cc1fdb31a9a1136b9b6bf9d045dd41.tar.bz2
qemu-kvm-de2ca4fbb4cc1fdb31a9a1136b9b6bf9d045dd41.zip
alsa: Change default buffer/period size
Increase buffer size but do not rely on ALSA picking up default period size. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio')
-rw-r--r--audio/alsaaudio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index b8de3a708..0ef89e98e 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -74,7 +74,8 @@ static struct {
int period_size_out_overridden;
int verbose;
} conf = {
- .buffer_size_out = 1024,
+ .buffer_size_out = 4096,
+ .period_size_out = 1024,
.pcm_name_out = "default",
.pcm_name_in = "default",
};