From 9fb6ca4d89b12f9ea9cd03fbd8f57ef4a293f900 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Jan 2017 19:57:29 -0600 Subject: [PATCH] Committer: gir Changes to be committed: modified: src/audio.cpp --- src/audio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/audio.cpp b/src/audio.cpp index 02f6664..84abe29 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -356,10 +356,10 @@ void Audio::setBGM_Volume(int value) } p->bgm_volume = value; p->bgm.lockStream(); - p->bgm.setVolume(AudioStream::External, ((float)(p->bgm_volume * p->current_bgm_volume))/10000.0f ); + p->bgm.setVolume(AudioStream::Base, ((float)(p->bgm_volume * p->current_bgm_volume))/10000.0f ); p->bgm.unlockStream(); p->me.lockStream(); - p->me.setVolume(AudioStream::External, ((float)(p->bgm_volume * p->current_me_volume))/10000.0f ); + p->me.setVolume(AudioStream::Base, ((float)(p->bgm_volume * p->current_me_volume))/10000.0f ); p->me.unlockStream(); } @@ -377,7 +377,7 @@ void Audio::setSFX_Volume(int value) } p->sfx_volume = value; p->bgs.lockStream(); - p->bgs.setVolume(AudioStream::External, ((float)(p->sfx_volume * p->current_bgs_volume))/10000.0f ); + p->bgs.setVolume(AudioStream::Base, ((float)(p->sfx_volume * p->current_bgs_volume))/10000.0f ); p->bgs.unlockStream(); }