Browse Source

Fix type warning in virtual function stack for plWin32Sound::ISetActualVolume()

- const declaration in argument list didn't match plSound::ISetActualVolume()
rarified/movieplayer
Adam Johnson 4 years ago committed by rarified
parent
commit
bf27010d11
  1. 2
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAudio/plWin32Sound.cpp

2
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAudio/plWin32Sound.cpp

@ -269,7 +269,7 @@ void plWin32Sound::SetPosition( const hsPoint3 pos )
} }
} }
void plWin32Sound::ISetActualVolume(const float volume) void plWin32Sound::ISetActualVolume(float volume)
{ {
float vol = IAttenuateActualVolume( volume ) * IGetChannelVolume(); float vol = IAttenuateActualVolume( volume ) * IGetChannelVolume();
if( fDSoundBuffer ) if( fDSoundBuffer )

Loading…
Cancel
Save