aboutsummaryrefslogtreecommitdiff
path: root/audio/alsaaudio.c
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/alsaaudio.c
parent301901b56c75e4e2ec65ed7598cd69b9d5fb4fe3 (diff)
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/alsaaudio.c')
-rw-r--r--audio/alsaaudio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index b8de3a708d..0ef89e98e6 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",
};