media/libsydneyaudio/bug526411_latency.patch
author ffxbld
Tue, 05 Oct 2010 18:50:07 -0700
branchGECKO20b7pre_20100929_RELBRANCH
changeset 54944 b0a9b1c104c0fbd6f3f7b8961a796fd517b8dcd5
parent 37972 8c84037f3ad92ad28785e63211077161c9ba2732
permissions -rw-r--r--
Added tag FENNEC_4_0b1_BUILD2 for changeset 6bd3e0d8c5d1. CLOSED TREE

diff --git a/media/libsydneyaudio/src/sydney_audio_alsa.c b/media/libsydneyaudio/src/sydney_audio_alsa.c
--- a/media/libsydneyaudio/src/sydney_audio_alsa.c
+++ b/media/libsydneyaudio/src/sydney_audio_alsa.c
@@ -138,17 +138,17 @@ sa_stream_open(sa_stream_t *s) {
                          SND_PCM_FORMAT_S16_LE,
 #else
                          SND_PCM_FORMAT_S16_BE,
 #endif
                          SND_PCM_ACCESS_RW_INTERLEAVED,
                          s->n_channels,
                          s->rate,
                          1,
-                         500000) < 0) {
+                         250000) < 0) {
     snd_pcm_close(s->output_unit);
     s->output_unit = NULL;
     return SA_ERROR_NOT_SUPPORTED;
   }
   
   return SA_SUCCESS;
 }