Minor: make Spkr_DSUninit() static

This commit is contained in:
tomcw 2020-10-11 18:55:28 +01:00
parent 1a11c65d37
commit 6f39869f8c
2 changed files with 2 additions and 2 deletions

View File

@ -91,6 +91,7 @@ static bool g_bSpkrAvailable = false;
static ULONG Spkr_SubmitWaveBuffer_FullSpeed(short* pSpeakerBuffer, ULONG nNumSamples); static ULONG Spkr_SubmitWaveBuffer_FullSpeed(short* pSpeakerBuffer, ULONG nNumSamples);
static ULONG Spkr_SubmitWaveBuffer(short* pSpeakerBuffer, ULONG nNumSamples); static ULONG Spkr_SubmitWaveBuffer(short* pSpeakerBuffer, ULONG nNumSamples);
static void Spkr_SetActive(bool bActive); static void Spkr_SetActive(bool bActive);
static void Spkr_DSUninit();
//============================================================================= //=============================================================================
@ -924,7 +925,7 @@ bool Spkr_DSInit()
return true; return true;
} }
void Spkr_DSUninit() static void Spkr_DSUninit()
{ {
if(SpeakerVoice.lpDSBvoice && SpeakerVoice.bActive) if(SpeakerVoice.lpDSBvoice && SpeakerVoice.bActive)
{ {

View File

@ -30,7 +30,6 @@ void Spkr_Mute();
void Spkr_Demute(); void Spkr_Demute();
bool Spkr_IsActive(); bool Spkr_IsActive();
bool Spkr_DSInit(); bool Spkr_DSInit();
void Spkr_DSUninit();
void SpkrSaveSnapshot(class YamlSaveHelper& yamlSaveHelper); void SpkrSaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
void SpkrLoadSnapshot(class YamlLoadHelper& yamlLoadHelper); void SpkrLoadSnapshot(class YamlLoadHelper& yamlLoadHelper);