aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/alsaaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 2e59dfa4c4..3f9ffdbbcd 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -57,6 +57,8 @@ static struct {
int period_size_out_overriden;
int verbose;
} conf = {
+#define DEFAULT_BUFFER_SIZE 1024
+#define DEFAULT_PERIOD_SIZE 256
#ifdef HIGH_LATENCY
.size_in_usec_in = 1,
.size_in_usec_out = 1,
@@ -69,8 +71,6 @@ static struct {
.buffer_size_out = 400000,
.period_size_out = 400000 / 4,
#else
-#define DEFAULT_BUFFER_SIZE 1024
-#define DEFAULT_PERIOD_SIZE 256
.buffer_size_in = DEFAULT_BUFFER_SIZE * 4,
.period_size_in = DEFAULT_PERIOD_SIZE * 4,
.buffer_size_out = DEFAULT_BUFFER_SIZE,