[win32] return float value of volume

This commit is contained in:
minggo 2011-01-22 16:40:05 +08:00
parent 5cf0ee5d90
commit fe9c7a7be3
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ void SimpleAudioEngine::unloadEffect(const char* pszFilePath)
float SimpleAudioEngine::getBackgroundMusicVolume()
{
return 100;
return 1.0;
}
void SimpleAudioEngine::setBackgroundMusicVolume(float volume)
@ -180,7 +180,7 @@ void SimpleAudioEngine::setBackgroundMusicVolume(float volume)
float SimpleAudioEngine::getEffectsVolume()
{
return 100;
return 1.0;
}
void SimpleAudioEngine::setEffectsVolume(float volume)