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
1 changed files with 1 additions and 1 deletions

View File

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