Fix return type of get_reverb_room

This commit is contained in:
Rémi Verschelde 2015-09-26 23:45:17 +02:00
parent 9e54b5c62b
commit 2caf1548a5
2 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -161,7 +161,7 @@ public:
float get_filter_resonance(VoiceID p_voice) const;
float get_filter_gain(VoiceID p_voice) const;
float get_chorus(VoiceID p_voice) const;
float get_reverb_room(VoiceID p_voice) const;
ReverbRoomType get_reverb_room(VoiceID p_voice) const;
float get_reverb(VoiceID p_voice) const;
@ -185,7 +185,7 @@ public:
float get_default_filter_resonance() const;
float get_default_filter_gain() const;
float get_default_chorus() const;
float get_default_reverb_room() const;
ReverbRoomType get_default_reverb_room() const;
float get_default_reverb() const;
SamplePlayer();