float SamplePlayer::get_reverb(VoiceID p_voice) const { _GET_VOICE_V(0); return v.reverb_send; }
bool SamplePlayer::is_voice_active(VoiceID p_voice) const { _GET_VOICE_V(false); return v.active && AudioServer::get_singleton()->voice_is_active(v.voice); }
float SamplePlayer::get_filter_gain(VoiceID p_voice) const { _GET_VOICE_V(0); return v.filter_gain; }
float SamplePlayer::get_chorus(VoiceID p_voice) const { _GET_VOICE_V(0); return v.chorus_send; }
SamplePlayer::FilterType SamplePlayer::get_filter_type(VoiceID p_voice) const { _GET_VOICE_V(FILTER_NONE); return v.filter_type; }
float SamplePlayer::get_filter_resonance(VoiceID p_voice) const { _GET_VOICE_V(0); return v.filter_resonance; }
float SamplePlayer::get_pan_depth(VoiceID p_voice) const { _GET_VOICE_V(0); return v.pan_depth; }
float SamplePlayer::get_pan_height(VoiceID p_voice) const { _GET_VOICE_V(0); return v.pan_height; }
float SamplePlayer::get_volume_db(VoiceID p_voice) const { _GET_VOICE_V(0); return Math::linear2db(v.volume); }
float SamplePlayer::get_volume(VoiceID p_voice) const { _GET_VOICE_V(0); return v.volume; }
float SamplePlayer::get_pitch_scale(VoiceID p_voice) const { _GET_VOICE_V(0); return v.sample_mix_rate/(float)v.mix_rate; }
int SamplePlayer::get_mix_rate(VoiceID p_voice) const { _GET_VOICE_V(0); return v.mix_rate; }
SamplePlayer::ReverbRoomType SamplePlayer::get_reverb_room(VoiceID p_voice) const { _GET_VOICE_V(REVERB_SMALL); return v.reverb_room; }