I would pay $50 for a working implementation of these methods for Win32.
SimpleAudioEngine.h
// properties
/**
@brief The volume of the background music max value is 1.0,the min value is 0.0
@js getMusicVolume
*/
float getBackgroundMusicVolume();
/**
@brief set the volume of background music
@param volume must be in 0.0~1.0
@js setMusicVolume
*/
void setBackgroundMusicVolume(float volume);
/**
@brief The volume of the effects max value is 1.0,the min value is 0.0
*/
float getEffectsVolume();
/**
@brief set the volume of sound effecs
@param volume must be in 0.0~1.0
*/
void setEffectsVolume(float volume);
it appears that SimpleAudioEngine is still the primary interface.
However, in the case of v3.3 the methods
SimpleAudioEngine::getEffectsVolume()
and
SimpleAudioEngine::setEffectsVolume(float volume)
are both stub methods. I see that AudioEngineImpl has some code for volume support. I don’t know what AudioEngineImpl is, but if that’s the new audio engine and SimpleAudioEngine is depreciated I don’t know.
I would really like to figure this out for v2.x … I saw this blog post