diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-02 02:11:51 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-02 02:11:51 +0000 |
commit | 5a1237c45f8ae84da2cbffe07a344e29952c689b (patch) | |
tree | 36765f6b2101c9228b9fc9b5335e4ba3794f2490 /audio | |
parent | 549444e1f03d56674f43dfe67a5950638bc3d200 (diff) |
Don't define HIGH_LATENCY for ARM, this was a workaround for an ALSA problem.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2766 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio')
-rw-r--r-- | audio/alsaaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index 2e59dfa4c..3f9ffdbbc 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, |