MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / SetVolume

Method SetVolume

source/SSI263.cpp:993–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993void SSI263::SetVolume(uint32_t dwVolume, uint32_t dwVolumeMax)
994{
995 SSI263SingleVoice.dwUserVolume = dwVolume;
996
997 SSI263SingleVoice.nVolume = NewVolume(dwVolume, dwVolumeMax);
998
999 if (SSI263SingleVoice.bActive && !SSI263SingleVoice.bMute)
1000 SSI263SingleVoice.lpDSBvoice->SetVolume(SSI263SingleVoice.nVolume);
1001}
1002
1003//=============================================================================
1004

Callers 12

InitMethod · 0.45
MuteMethod · 0.45
UnmuteMethod · 0.45
Snapshot_LoadState_v2Function · 0.45
SoundCore_TimerFuncFunction · 0.45
SoundCore_SetFadeFunction · 0.45
SoundCore_TweakVolumesFunction · 0.45
LoadConfigurationFunction · 0.45
Spkr_MuteFunction · 0.45
Spkr_UnmuteFunction · 0.45
SpkrSetVolumeFunction · 0.45
Spkr_DSInitFunction · 0.45

Calls 1

NewVolumeFunction · 0.85

Tested by

no test coverage detected