class

Godot::AudioServer

Inherits Godot::Object < Reference < Object

Godot AudioServer singleton (AudioServer).

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_bus(at_position : Int64) : Void
Source
add_bus_effect(bus_idx : Int64, effect : AudioEffect, at_position : Int64) : Void
Source
bus_count

Property bus_count getter

Source
bus_count=(val : Int)

Property bus_count setter

Source
generate_bus_layout
Source
get_bus_channels(bus_idx : Int64) : Int64
Source
get_bus_count
Source
get_bus_effect(bus_idx : Int64, effect_idx : Int64) : AudioEffect
Source
get_bus_effect_count(bus_idx : Int64) : Int64
Source
get_bus_effect_instance(bus_idx : Int64, effect_idx : Int64, channel : Int64) : AudioEffectInstance
Source
get_bus_index(bus_name : String) : Int64
Source
get_bus_name(bus_idx : Int64) : String
Source
get_bus_peak_volume_left_db(bus_idx : Int64, channel : Int64) : Float64
Source
get_bus_peak_volume_right_db(bus_idx : Int64, channel : Int64) : Float64
Source
get_bus_send(bus_idx : Int64) : String
Source
get_bus_volume_db(bus_idx : Int64) : Float64
Source
get_bus_volume_linear(bus_idx : Int64) : Float64
Source
get_driver_name
Source
get_input_buffer_length_frames
Source
get_input_device
Source
get_input_device_list
Source
get_input_frames(frames : Int64) : Pointer(Void)
Source
get_input_frames_available
Source
get_input_mix_rate
Source
get_mix_rate
Source
get_output_device
Source
get_output_device_list
Source
get_output_latency
Source
get_playback_speed_scale
Source
get_speaker_mode
Source
get_time_since_last_mix
Source
get_time_to_next_mix
Source
input_device

Property input_device getter

Source
input_device=(val)

Property input_device setter

Source
is_bus_bypassing_effects(bus_idx : Int64) : Bool
Source
is_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64) : Bool
Source
is_bus_mute(bus_idx : Int64) : Bool
Source
is_bus_solo(bus_idx : Int64) : Bool
Source
is_stream_registered_as_sample(stream : AudioStream) : Bool
Source
lock
Source
move_bus(index : Int64, to_index : Int64) : Void
Source
output_device

Property output_device getter

Source
output_device=(val)

Property output_device setter

Source
playback_speed_scale

Property playback_speed_scale getter

Source
playback_speed_scale=(val : Number)

Property playback_speed_scale setter

Source
register_stream_as_sample(stream : AudioStream) : Void
Source
remove_bus(index : Int64) : Void
Source
remove_bus_effect(bus_idx : Int64, effect_idx : Int64) : Void
Source
set_bus_bypass_effects(bus_idx : Int64, enable : Bool) : Void
Source
set_bus_count(amount : Int64) : Void
Source
set_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64, enabled : Bool) : Void
Source
set_bus_layout(bus_layout : AudioBusLayout) : Void
Source
set_bus_mute(bus_idx : Int64, enable : Bool) : Void
Source
set_bus_name(bus_idx : Int64, name : String) : Void
Source
set_bus_send(bus_idx : Int64, send : String) : Void
Source
set_bus_solo(bus_idx : Int64, enable : Bool) : Void
Source
set_bus_volume_db(bus_idx : Int64, volume_db : Float64) : Void
Source
set_bus_volume_linear(bus_idx : Int64, volume_linear : Float64) : Void
Source
set_enable_tagging_used_audio_streams(enable : Bool) : Void
Source
set_input_device(name : String) : Void
Source
set_input_device_active(active : Bool) : Int64
Source
set_output_device(name : String) : Void
Source
set_playback_speed_scale(scale : Float64) : Void
Source
swap_bus_effects(bus_idx : Int64, effect_idx : Int64, by_effect_idx : Int64) : Void
Source
unlock
Source

Nested types