diff --git a/source/Speaker.cpp b/source/Speaker.cpp index ea5800ab..b7ad6faa 100644 --- a/source/Speaker.cpp +++ b/source/Speaker.cpp @@ -91,6 +91,7 @@ static bool g_bSpkrAvailable = false; static ULONG Spkr_SubmitWaveBuffer_FullSpeed(short* pSpeakerBuffer, ULONG nNumSamples); static ULONG Spkr_SubmitWaveBuffer(short* pSpeakerBuffer, ULONG nNumSamples); static void Spkr_SetActive(bool bActive); +static void Spkr_DSUninit(); //============================================================================= @@ -924,7 +925,7 @@ bool Spkr_DSInit() return true; } -void Spkr_DSUninit() +static void Spkr_DSUninit() { if(SpeakerVoice.lpDSBvoice && SpeakerVoice.bActive) { diff --git a/source/Speaker.h b/source/Speaker.h index 66aab730..253ff6e8 100644 --- a/source/Speaker.h +++ b/source/Speaker.h @@ -30,7 +30,6 @@ void Spkr_Mute(); void Spkr_Demute(); bool Spkr_IsActive(); bool Spkr_DSInit(); -void Spkr_DSUninit(); void SpkrSaveSnapshot(class YamlSaveHelper& yamlSaveHelper); void SpkrLoadSnapshot(class YamlLoadHelper& yamlLoadHelper);