diff options
author | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-04 14:42:57 +0000 |
---|---|---|
committer | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-04 14:42:57 +0000 |
commit | bc802c1e3efbe92cf653c415db5143291f096af4 (patch) | |
tree | 2c741c027f3d4c978974fd49620572e3159f61e4 /libao2 | |
parent | 81b12851231914795c8b1670fbeb33d9668b5d35 (diff) | |
download | mpv-bc802c1e3efbe92cf653c415db5143291f096af4.tar.bz2 mpv-bc802c1e3efbe92cf653c415db5143291f096af4.tar.xz |
Audio buffer is too large so that it takes too long time to respond to audio
control such as software volume control.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30502 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_kai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_kai.c b/libao2/ao_kai.c index a52b60e0b5..cc0a3373a7 100644 --- a/libao2/ao_kai.c +++ b/libao2/ao_kai.c @@ -242,7 +242,7 @@ static int init(int rate, int channels, int format, int flags) 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; |