mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@8004c7524f
This commit is contained in:
@@ -1620,6 +1620,10 @@ float AudioServer::get_mix_rate() const {
|
||||
return AudioDriver::get_singleton()->get_mix_rate();
|
||||
}
|
||||
|
||||
float AudioServer::get_input_mix_rate() const {
|
||||
return AudioDriver::get_singleton()->get_input_mix_rate();
|
||||
}
|
||||
|
||||
float AudioServer::read_output_peak_db() const {
|
||||
return 0;
|
||||
}
|
||||
@@ -1952,6 +1956,7 @@ void AudioServer::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_speaker_mode"), &AudioServer::get_speaker_mode);
|
||||
ClassDB::bind_method(D_METHOD("get_mix_rate"), &AudioServer::get_mix_rate);
|
||||
ClassDB::bind_method(D_METHOD("get_input_mix_rate"), &AudioServer::get_input_mix_rate);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_driver_name"), &AudioServer::get_driver_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user