]> git.proxmox.com Git - qemu.git/commitdiff
alsa: Change default buffer/period size
authormalc <av1474@comtv.ru>
Thu, 1 Oct 2009 23:19:30 +0000 (03:19 +0400)
committermalc <av1474@comtv.ru>
Thu, 1 Oct 2009 23:19:47 +0000 (03:19 +0400)
Increase buffer size but do not rely on ALSA picking up default period
size.

Signed-off-by: malc <av1474@comtv.ru>
audio/alsaaudio.c

index b8de3a708dabf0f8bb3f3b956005da9ad225e571..0ef89e98e613cecb34914040e654d7dfd6e734c1 100644 (file)
@@ -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",
 };