Fix return type of get_reverb_room
This commit is contained in:
parent
9e54b5c62b
commit
2caf1548a5
@ -460,9 +460,9 @@ float SamplePlayer::get_chorus(VoiceID p_voice) const {
|
|||||||
|
|
||||||
return v.chorus_send;
|
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;
|
return v.reverb_room;
|
||||||
}
|
}
|
||||||
@ -591,7 +591,7 @@ float SamplePlayer::get_default_chorus() const {
|
|||||||
|
|
||||||
return _default.chorus_send;
|
return _default.chorus_send;
|
||||||
}
|
}
|
||||||
float SamplePlayer::get_default_reverb_room() const {
|
SamplePlayer::ReverbRoomType SamplePlayer::get_default_reverb_room() const {
|
||||||
|
|
||||||
return _default.reverb_room;
|
return _default.reverb_room;
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ public:
|
|||||||
float get_filter_resonance(VoiceID p_voice) const;
|
float get_filter_resonance(VoiceID p_voice) const;
|
||||||
float get_filter_gain(VoiceID p_voice) const;
|
float get_filter_gain(VoiceID p_voice) const;
|
||||||
float get_chorus(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;
|
float get_reverb(VoiceID p_voice) const;
|
||||||
|
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ public:
|
|||||||
float get_default_filter_resonance() const;
|
float get_default_filter_resonance() const;
|
||||||
float get_default_filter_gain() const;
|
float get_default_filter_gain() const;
|
||||||
float get_default_chorus() const;
|
float get_default_chorus() const;
|
||||||
float get_default_reverb_room() const;
|
ReverbRoomType get_default_reverb_room() const;
|
||||||
float get_default_reverb() const;
|
float get_default_reverb() const;
|
||||||
|
|
||||||
SamplePlayer();
|
SamplePlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user