Merge pull request #1394 from Frank-74/patch-2
Fix tabs/spaces, tiny buffer unlimited VI problem
This commit is contained in:
commit
99131d1374
|
@ -38,6 +38,10 @@ void SoundDriverBase::AI_SetFrequency(uint32_t Frequency, uint32_t BufferSize)
|
|||
{
|
||||
SetFrequency(Frequency, BufferSize);
|
||||
m_MaxBufferSize = (BufferSize * 4);
|
||||
if (g_settings->TinyBuffer() == true)
|
||||
{
|
||||
m_MaxBufferSize = m_MaxBufferSize * 2;
|
||||
]
|
||||
m_BufferRemaining = 0;
|
||||
m_CurrentReadLoc = m_CurrentWriteLoc = m_BufferRemaining = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue