mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 19:01:07 +00:00
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
This commit is contained in:
parent
81b1285123
commit
bc802c1e3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user