From de2ca4fbb4cc1fdb31a9a1136b9b6bf9d045dd41 Mon Sep 17 00:00:00 2001 From: malc Date: Fri, 2 Oct 2009 03:19:30 +0400 Subject: alsa: Change default buffer/period size Increase buffer size but do not rely on ALSA picking up default period size. Signed-off-by: malc --- audio/alsaaudio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio') 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", }; -- cgit v1.2.3-65-gdbad