Mercurial > mplayer.hg
changeset 30460:2675229bd06f
Audio buffer is too large so that it takes too long time to respond to audio
control such as software volume control.
author | komh |
---|---|
date | Thu, 04 Feb 2010 14:42:57 +0000 |
parents | 9bb2ebbb52be |
children | 912b24967485 |
files | libao2/ao_kai.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_kai.c Wed Feb 03 23:46:00 2010 +0000 +++ b/libao2/ao_kai.c Thu Feb 04 14:42:57 2010 +0000 @@ -242,7 +242,7 @@ 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;