maybe fix crash on exit from sloppy sound deinit code
This commit is contained in:
parent
d515741586
commit
47ed3844cc
|
@ -478,7 +478,7 @@ static void DriverKill(void)
|
||||||
|
|
||||||
if(soundo)
|
if(soundo)
|
||||||
{
|
{
|
||||||
TrashSound();
|
TrashSoundNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseWave();
|
CloseWave();
|
||||||
|
|
|
@ -3,6 +3,7 @@ extern int32 fps_scale;
|
||||||
void ConfigSound();
|
void ConfigSound();
|
||||||
int InitSound();
|
int InitSound();
|
||||||
void TrashSound();
|
void TrashSound();
|
||||||
|
void TrashSoundNow();
|
||||||
void win_SoundSetScale(int scale);
|
void win_SoundSetScale(int scale);
|
||||||
void win_SoundWriteData(int32 *buffer, int count);
|
void win_SoundWriteData(int32 *buffer, int count);
|
||||||
void win_Throttle();
|
void win_Throttle();
|
||||||
|
|
Loading…
Reference in New Issue