mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-25 21:31:49 +00:00
Bug in unlock sound buffer
This commit is contained in:
parent
2221c57ce8
commit
e48b65def0
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ DWORD WINAPI fluid_dsound_audio_run(LPVOID lpParameter)
|
|||
}
|
||||
|
||||
/* Unlock */
|
||||
IDirectSoundCaptureBuffer_Unlock(dev->sec_buffer, buf1, bytes1, buf2, bytes2);
|
||||
IDirectSoundBuffer_Unlock(dev->sec_buffer, buf1, bytes1, buf2, bytes2);
|
||||
|
||||
if (cur_position >= dev->queue_byte_size) {
|
||||
cur_position -= dev->queue_byte_size;
|
||||
|
|
Loading…
Reference in a new issue