openframeworks/openFrameworks — pull request #808 by gameoverhack (2011-11-11 05:01:54+00:00)
Title: Feature of sound player get volume

Added getVolume() to ofSoundPlayer.

NB: I had a strange problem with openALSoundPlayer where Xcode kept complaining if I implemented getVolume as a pure virtual function in ofBaseSoundPlayer (which it should be)...perhaps it's just my development platform?

Annoyingly I had to change it in order to continue developing, but really it should be virtual void getVolume() = 0; in ofBaseSoundPlayer...