[Audio] Fix typo in buffersize
It caused clicks in goldeneye / pd without +1.
This commit is contained in:
parent
af6c354efc
commit
9936933f68
|
@ -112,7 +112,7 @@ EXPORT void CALL AiDacrateChanged(int SystemType)
|
|||
framerate = (framerate / 2);
|
||||
}
|
||||
audio_clock = (video_clock / framerate);
|
||||
BufferSize = (int32_t)(audio_clock / (g_Dacrate + 1)) & ~0x1;
|
||||
BufferSize = (int32_t)(audio_clock / (g_Dacrate + 1)) + 1 & ~0x1;
|
||||
g_SoundDriver->AI_SetFrequency(Frequency, BufferSize);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue