[MPlayer-cvslog] r30502 - trunk/libao2/ao_kai.c
komh
subversion at mplayerhq.hu
Thu Feb 4 15:42:57 CET 2010
Author: komh
Date: Thu Feb 4 15:42:57 2010
New Revision: 30502
Log:
Audio buffer is too large so that it takes too long time to response to audio control such as software volume control.
Modified:
trunk/libao2/ao_kai.c
Modified: trunk/libao2/ao_kai.c
==============================================================================
--- trunk/libao2/ao_kai.c Thu Feb 4 00:46:00 2010 (r30501)
+++ trunk/libao2/ao_kai.c Thu Feb 4 15:42:57 2010 (r30502)
@@ -242,7 +242,7 @@ static int init(int rate, int channels,
ao_data.outburst = nBytesPerSample * OUTBURST_SAMPLES;
ao_data.buffersize = m_kaiSpec.ulBufferSize;
- m_nBufSize = (m_kaiSpec.ulBufferSize * m_kaiSpec.ulNumBuffers) << 3;
+ m_nBufSize = (m_kaiSpec.ulBufferSize * m_kaiSpec.ulNumBuffers) << 2;
// multiple of CHUNK_SIZE
m_nBufSize = (m_nBufSize / CHUNK_SIZE) * CHUNK_SIZE;
More information about the MPlayer-cvslog
mailing list