mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-08 13:31:00 +00:00
Minor: make Spkr_DSUninit() static
This commit is contained in:
parent
1a11c65d37
commit
6f39869f8c
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user