summaryrefslogtreecommitdiff
path: root/scene/audio/sample_player.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-09-26 23:45:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2015-09-26 23:58:11 +0200
commit2caf1548a5e95cd6506c4a3574597b9229414368 (patch)
tree6f60420eb04164d1cf1b61da6b64c8f95f80398e /scene/audio/sample_player.cpp
parent9e54b5c62b177ced1643f22f13a480ed7646d27e (diff)
Fix return type of get_reverb_room
Diffstat (limited to 'scene/audio/sample_player.cpp')
-rw-r--r--scene/audio/sample_player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/audio/sample_player.cpp b/scene/audio/sample_player.cpp
index 4e2c3f5dfd..7c0a926324 100644
--- a/scene/audio/sample_player.cpp
+++ b/scene/audio/sample_player.cpp
@@ -460,9 +460,9 @@ float SamplePlayer::get_chorus(VoiceID p_voice) const {
return v.chorus_send;
}
-float SamplePlayer::get_reverb_room(VoiceID p_voice) const {
+SamplePlayer::ReverbRoomType SamplePlayer::get_reverb_room(VoiceID p_voice) const {
- _GET_VOICE_V(0);
+ _GET_VOICE_V(REVERB_SMALL);
return v.reverb_room;
}
@@ -591,7 +591,7 @@ float SamplePlayer::get_default_chorus() const {
return _default.chorus_send;
}
-float SamplePlayer::get_default_reverb_room() const {
+SamplePlayer::ReverbRoomType SamplePlayer::get_default_reverb_room() const {
return _default.reverb_room;
}