fmod: fix FmodAudioSound::get_speaker_mix()

This commit is contained in:
rdb 2018-11-06 20:33:56 +01:00
parent cb2329b3f1
commit 98e767c370
2 changed files with 2 additions and 2 deletions

View File

@ -651,7 +651,7 @@ get_3d_max_distance() const {
* a balance [pan] function what is the point?
*/
PN_stdfloat FmodAudioSound::
get_speaker_mix(AudioManager::SpeakerId speaker) {
get_speaker_mix(int speaker) {
ReMutexHolder holder(FmodAudioManager::_lock);
if (_channel == 0) {
return 0.0;

View File

@ -126,7 +126,7 @@ public:
AudioSound::SoundStatus status() const;
virtual PN_stdfloat get_speaker_mix(AudioManager::SpeakerId speaker);
virtual PN_stdfloat get_speaker_mix(int speaker);
virtual void set_speaker_mix(PN_stdfloat frontleft, PN_stdfloat frontright, PN_stdfloat center, PN_stdfloat sub, PN_stdfloat backleft, PN_stdfloat backright, PN_stdfloat sideleft, PN_stdfloat sideright);
void set_active(bool active=true);