Bug in unlock in driver initialization

This commit is contained in:
Peter Hanappe 2003-04-04 17:39:30 +00:00
parent a8f4470fcd
commit 2221c57ce8

View file

@ -210,7 +210,7 @@ new_fluid_dsound_audio_driver(fluid_settings_t* settings, fluid_synth_t* synth)
memset(buf1, 0, bytes1); memset(buf1, 0, bytes1);
/* Unlock */ /* Unlock */
IDirectSoundCaptureBuffer_Unlock(dev->sec_buffer, buf1, bytes1, 0, 0); IDirectSoundBuffer_Unlock(dev->sec_buffer, buf1, bytes1, 0, 0);
/* start the audio thread */ /* start the audio thread */