class Godot::AudioServer

Overview

Godot AudioServer singleton (AudioServer).

Defined in:

libgodot/extensions/audio_server.cr
libgodot/generated/classes/classes_part1.cr
libgodot/generated/singletons.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Godot::Object

==(other : Godot::Object) : Bool
==(other : Nil) : Bool
==
, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_bind_static_signals(force : Bool = false) : Void _godot_bind_static_signals, _godot_bind_static_signals_impl(tid : UInt64) : Void _godot_bind_static_signals_impl, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _mark_destroyed_by_engine! : Void _mark_destroyed_by_engine!, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, ~ : self ~, active? : Bool active?, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, as_a(type : T.class) : T forall T as_a, as_a?(type : T.class) : T | Nil forall T as_a?, as_g(type : T.class) : T forall T as_g, as_g?(type : T.class) : T | Nil forall T as_g?, as_t(type : T.class) : T forall T as_t, as_t?(type : T.class) : T | Nil forall T as_t?, await_signal(signal_name : String | Symbol, timeout_sec : Float64 | Nil = nil) : AwaitStatus(Array(Variant))
await_signal(signal_name : String | Symbol, timeout_sec : Number) : AwaitStatus(Array(Variant))
await_signal
, await_signal!(signal_name : String | Symbol, timeout_sec : Float64 | Nil = nil) : Array(Variant)
await_signal!(signal_name : String | Symbol, timeout_sec : Number) : Array(Variant)
await_signal!
, await_signal?(signal_name : String | Symbol, timeout_sec : Float64 | Nil = nil) : Array(Variant) | Nil
await_signal?(signal_name : String | Symbol, timeout_sec : Number) : Array(Variant) | Nil
await_signal?
, bind_property_list_changed(callback : Proc(R), once : Bool = false) : UInt64 forall R
bind_property_list_changed(once : Bool = false, &block : -> Void) : UInt64
bind_property_list_changed
, bind_script_changed(callback : Proc(R), once : Bool = false) : UInt64 forall R
bind_script_changed(once : Bool = false, &block : -> Void) : UInt64
bind_script_changed
, bind_static_signal(signal_name : String, callback : Proc(*T, R), once : Bool = false) : UInt64 forall T, R
bind_static_signal(signal_name : Symbol, callback : Proc(*T, R), once : Bool = false) : UInt64 forall T, R
bind_static_signal
, blocking_signals? : Bool blocking_signals?, build(&block : self -> Void) : self build, call(method : String, args : Array(Variant)) : Pointer(Void)
call(method : String, *args) : Pointer(Void)
call
, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, cast_to(type : T.class) : T forall T cast_to, cast_to?(type : T.class) : T | Nil forall T cast_to?, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, configure(&block : self -> Void) : self configure, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil, receiver : Godot::Object | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, receiver : Godot::Object | Nil = nil, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error
connect
, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void
disconnect(signal_name : Symbol) : Void
disconnect
, disconnect_all(signal_name : String | Symbol) : self
disconnect_all : self
disconnect_all
, editor_hint? : Bool editor_hint?, emit(signal_name : String | Symbol, *args) : self
emit(signal : BoundSignal, *args) : self
emit
, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void
emit_signal
, emit_static_signal(signal_name : String, *args : *T) : Int32 forall T
emit_static_signal(signal_name : Symbol, *args : *T) : Int32 forall T
emit_static_signal
, explicitly_freed? : Bool explicitly_freed?, frame_arena : Lapis::Core::FrameArena frame_arena, frame_buffer(type : T.class, max_elements : Int32) : Lapis::Core::ArenaBuffer(T) forall T frame_buffer, frame_scope(&block : Lapis::Core::FrameArena -> _) frame_scope, frame_slice(type : T.class, count : Int32) : Slice(T) forall T frame_slice, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta(key : Symbol, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta(key : Symbol, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void)
get_meta
, get_meta_color(key : String | Symbol) : Color get_meta_color, get_meta_f64(key : String | Symbol) : Float64 get_meta_f64, get_meta_i64(key : String | Symbol) : Int64 get_meta_i64, get_meta_list : Pointer(Void) get_meta_list, get_meta_str(key : String | Symbol) : String get_meta_str, get_meta_transform3d(key : String | Symbol) : Transform3D get_meta_transform3d, get_meta_vector2(key : String | Symbol) : Vector2 get_meta_vector2, get_meta_vector3(key : String | Symbol) : Vector3 get_meta_vector3, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, godot_as(type : T.class) : T forall T godot_as, godot_as?(type : T.class) : T | Nil forall T godot_as?, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool
has_meta(key : String | Symbol) : Bool
has_meta
, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, inspect(io : IO) : Void inspect, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, not_null? : Bool not_null?, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, null? : Bool null?, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, property_list_changed=(val : Godot::BoundSignal) : Godot::BoundSignal property_list_changed=, property_list_changed_signal_hash : UInt64 property_list_changed_signal_hash, property_list_changed_slot : Lapis::Core::StaticSignalSlot() property_list_changed_slot, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, queued_for_deletion_fast? : Bool queued_for_deletion_fast?, rebind_static_signals! : Void rebind_static_signals!, remove_meta(name : String) : Void
remove_meta(key : String | Symbol) : Void
remove_meta
, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, script_changed=(val : Godot::BoundSignal) : Godot::BoundSignal script_changed=, script_changed_signal_hash : UInt64 script_changed_signal_hash, script_changed_slot : Lapis::Core::StaticSignalSlot() script_changed_slot, set(property : String, value : Pointer(Void)) : Void
set(property : String | Symbol, value : T) : Void forall T
set
, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(key : String | Symbol, value : String | Int32 | Int64 | Float32 | Float64 | Bool | Symbol | Vector2 | Vector2i | Vector3 | Vector3i | Color | Transform3D | Basis | AABB | Quaternion | Plane | Rect2) : Void
set_meta(key : String | Symbol, value : Godot::Object) : Void
set_meta(name : String, value : Pointer(Void)) : Void
set_meta(key : Symbol, value : Pointer(Void)) : Void
set_meta(key : String | Symbol, value : Variant) : Void
set_meta
, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal
signal
, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, static_signal_slot(signal_name : String, *types : *T) forall T
static_signal_slot(signal_name : Symbol, *types : *T) forall T
static_signal_slot
, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n, try? : self | Nil
try?(&)
try?
, unbind_property_list_changed(callback : Proc(R)) : Bool forall R
unbind_property_list_changed(token : UInt64) : Bool
unbind_property_list_changed
, unbind_script_changed(callback : Proc(R)) : Bool forall R
unbind_script_changed(token : UInt64) : Bool
unbind_script_changed
, unbind_static_signal(signal_name : String, callback : Proc(*T, R)) : Bool forall T, R
unbind_static_signal(signal_name : Symbol, callback : Proc(*T, R)) : Bool forall T, R
unbind_static_signal(token : UInt64) : Bool
unbind_static_signal

Constructor methods inherited from class Godot::Object

~ : self ~, create : self
create(&block : self -> ) : self
create
, new(pointer : Pointer(Void) = Pointer(Void).null)
new(&block : self -> ) : self
new

Class methods inherited from class Godot::Object

_godot_has_virtual_method(method_name : String) : Bool _godot_has_virtual_method, cast_to(obj : Object, type : T.class) : T forall T cast_to, cast_to?(obj : Object, type : T.class) : T | Nil forall T cast_to?, find_script_info_for_node(node : Godot::Object) : NamedTuple(path: String, line: Int32, class_name: String, parent_name: String, is_tool: Bool) | Nil find_script_info_for_node, find_script_location_for_class(target_cls : String) : Tuple(String, Int32) find_script_location_for_class, find_script_path_for_class(target_cls : String) : String find_script_path_for_class, is_instance_id_valid(id : Int | UInt64) : Bool is_instance_id_valid, is_internal_or_brush_class?(cls_name : String) : Bool is_internal_or_brush_class?

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.instance : AudioServer #

def self.new(pointer : Pointer(Void) = Pointer(Void).null) #

Class Method Detail

def self.add_bus(at_position : Int64 = -1_i64) : Void #

Class-level singleton delegator for #add_bus


def self.add_bus_effect(bus_idx : Int64, effect : AudioEffect, at_position : Int64 = -1_i64) : Void #

Class-level singleton delegator for #add_bus_effect


def self.bus_bypassing_effects?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #bus_bypassing_effects?


def self.bus_count #

def self.bus_count=(val) #

def self.bus_effect_enabled?(bus_idx : Int64, effect_idx : Int64) : Bool #

Class-level singleton predicate delegator for #bus_effect_enabled?


def self.bus_mute?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #bus_mute?


def self.bus_solo?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #bus_solo?


def self.generate_bus_layout : AudioBusLayout #

Class-level singleton delegator for #generate_bus_layout


def self.get_bus_channels(bus_idx : Int64) : Int64 #

Class-level singleton delegator for #get_bus_channels


def self.get_bus_count : Int64 #

Class-level singleton delegator for #get_bus_count


def self.get_bus_effect(bus_idx : Int64, effect_idx : Int64) : AudioEffect #

Class-level singleton delegator for #get_bus_effect


def self.get_bus_effect_count(bus_idx : Int64) : Int64 #

Class-level singleton delegator for #get_bus_effect_count


def self.get_bus_effect_instance(bus_idx : Int64, effect_idx : Int64, channel : Int64 = 0_i64) : AudioEffectInstance #

Class-level singleton delegator for #get_bus_effect_instance


def self.get_bus_index(bus_name : String) : Int64 #

Class-level singleton delegator for #get_bus_index


def self.get_bus_name(bus_idx : Int64) : String #

Class-level singleton delegator for #get_bus_name


def self.get_bus_peak_volume_left_db(bus_idx : Int64, channel : Int64) : Float64 #

Class-level singleton delegator for #get_bus_peak_volume_left_db


def self.get_bus_peak_volume_right_db(bus_idx : Int64, channel : Int64) : Float64 #

Class-level singleton delegator for #get_bus_peak_volume_right_db


def self.get_bus_send(bus_idx : Int64) : String #

Class-level singleton delegator for #get_bus_send


def self.get_bus_volume_db(bus_idx : Int64) : Float64 #

Class-level singleton delegator for #get_bus_volume_db


def self.get_bus_volume_linear(bus_idx : Int64) : Float64 #

Class-level singleton delegator for #get_bus_volume_linear


def self.get_driver_name : String #

Class-level singleton delegator for #get_driver_name


def self.get_input_buffer_length_frames : Int64 #

Class-level singleton delegator for #get_input_buffer_length_frames


def self.get_input_device : String #

Class-level singleton delegator for #get_input_device


def self.get_input_device_list : Pointer(Void) #

Class-level singleton delegator for #get_input_device_list


def self.get_input_frames(frames : Int64) : Pointer(Void) #

Class-level singleton delegator for #get_input_frames


def self.get_input_frames_available : Int64 #

Class-level singleton delegator for #get_input_frames_available


def self.get_input_mix_rate : Float64 #

Class-level singleton delegator for #get_input_mix_rate


def self.get_master_volume : Float32 #

Returns the linear volume (0.0 to 1.0) of the Master audio bus


def self.get_mix_rate : Float64 #

Class-level singleton delegator for #get_mix_rate


def self.get_output_device : String #

Class-level singleton delegator for #get_output_device


def self.get_output_device_list : Pointer(Void) #

Class-level singleton delegator for #get_output_device_list


def self.get_output_latency : Float64 #

Class-level singleton delegator for #get_output_latency


def self.get_playback_speed_scale : Float64 #

Class-level singleton delegator for #get_playback_speed_scale


def self.get_speaker_mode : SpeakerMode #

Class-level singleton delegator for #get_speaker_mode


def self.get_time_since_last_mix : Float64 #

Class-level singleton delegator for #get_time_since_last_mix


def self.get_time_to_next_mix : Float64 #

Class-level singleton delegator for #get_time_to_next_mix


def self.input_device #

def self.input_device=(val) #

def self.is_bus_bypassing_effects(bus_idx : Int64) : Bool #

Class-level singleton delegator for #is_bus_bypassing_effects


def self.is_bus_bypassing_effects?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #is_bus_bypassing_effects?


def self.is_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64) : Bool #

Class-level singleton delegator for #is_bus_effect_enabled


def self.is_bus_effect_enabled?(bus_idx : Int64, effect_idx : Int64) : Bool #

Class-level singleton predicate delegator for #is_bus_effect_enabled?


def self.is_bus_mute(bus_idx : Int64) : Bool #

Class-level singleton delegator for #is_bus_mute


def self.is_bus_mute?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #is_bus_mute?


def self.is_bus_solo(bus_idx : Int64) : Bool #

Class-level singleton delegator for #is_bus_solo


def self.is_bus_solo?(bus_idx : Int64) : Bool #

Class-level singleton predicate delegator for #is_bus_solo?


def self.is_stream_registered_as_sample(stream : AudioStream) : Bool #

Class-level singleton delegator for #is_stream_registered_as_sample


def self.is_stream_registered_as_sample?(stream : AudioStream) : Bool #

Class-level singleton predicate delegator for #is_stream_registered_as_sample?


def self.lock : Void #

Class-level singleton delegator for #lock


def self.move_bus(index : Int64, to_index : Int64) : Void #

Class-level singleton delegator for #move_bus


def self.output_device #

def self.output_device=(val) #

def self.playback_speed_scale #

def self.playback_speed_scale=(val) #

def self.register_stream_as_sample(stream : AudioStream) : Void #

Class-level singleton delegator for #register_stream_as_sample


def self.remove_bus(index : Int64) : Void #

Class-level singleton delegator for #remove_bus


def self.remove_bus_effect(bus_idx : Int64, effect_idx : Int64) : Void #

Class-level singleton delegator for #remove_bus_effect


def self.set_bus_bypass_effects(bus_idx : Int64, enable : Bool) : Void #

Class-level singleton delegator for #set_bus_bypass_effects


def self.set_bus_count(amount : Int64) : Void #

Class-level singleton delegator for #set_bus_count


def self.set_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64, enabled : Bool) : Void #

Class-level singleton delegator for #set_bus_effect_enabled


def self.set_bus_layout(bus_layout : AudioBusLayout) : Void #

Class-level singleton delegator for #set_bus_layout


def self.set_bus_mute(bus_idx : Int64, enable : Bool) : Void #

Class-level singleton delegator for #set_bus_mute


def self.set_bus_name(bus_idx : Int64, name : String) : Void #

Class-level singleton delegator for #set_bus_name


def self.set_bus_send(bus_idx : Int64, send : String) : Void #

Class-level singleton delegator for #set_bus_send


def self.set_bus_solo(bus_idx : Int64, enable : Bool) : Void #

Class-level singleton delegator for #set_bus_solo


def self.set_bus_volume_db(bus_idx : Int64, volume_db : Float64) : Void #

Class-level singleton delegator for #set_bus_volume_db


def self.set_bus_volume_linear(bus_idx : Int64, volume_linear : Float64) : Void #

Class-level singleton delegator for #set_bus_volume_linear


def self.set_enable_tagging_used_audio_streams(enable : Bool) : Void #

Class-level singleton delegator for #set_enable_tagging_used_audio_streams


def self.set_input_device(name : String) : Void #

Class-level singleton delegator for #set_input_device


def self.set_input_device_active(active : Bool) : Godot::Error #

Class-level singleton delegator for #set_input_device_active


def self.set_master_volume(linear_val : Float32) : Void #

Sets the linear volume (0.0 to 1.0) of the Master audio bus, muting if near zero


def self.set_output_device(name : String) : Void #

Class-level singleton delegator for #set_output_device


def self.set_playback_speed_scale(scale : Float64) : Void #

Class-level singleton delegator for #set_playback_speed_scale


def self.singleton_ptr : Pointer(Void) #

def self.stream_registered_as_sample?(stream : AudioStream) : Bool #

Class-level singleton predicate delegator for #stream_registered_as_sample?


def self.swap_bus_effects(bus_idx : Int64, effect_idx : Int64, by_effect_idx : Int64) : Void #

Class-level singleton delegator for #swap_bus_effects


def self.unlock : Void #

Class-level singleton delegator for #unlock


Instance Method Detail

def add_bus(at_position : Int64 = -1_i64) : Void #

def add_bus_effect(bus_idx : Int64, effect : AudioEffect, at_position : Int64 = -1_i64) : Void #

def bind_bus_layout_changed(callback : Proc(R), once : Bool = false) : UInt64 forall R #

def bind_bus_layout_changed(once : Bool = false, &block : -> Void) : UInt64 #

def bind_bus_renamed(callback : Proc(Int64, String, String, R), once : Bool = false) : UInt64 forall R #

def bind_bus_renamed(once : Bool = false, &block : Int64, String, String -> Void) : UInt64 #

def bus_bypassing_effects?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_bypassing_effects


def bus_count #

Property #bus_count getter


def bus_count=(val : Int | Enum) #

Property #bus_count setter


def bus_effect_enabled?(bus_idx : Int64, effect_idx : Int64) : Bool #

Predicate alias for #is_bus_effect_enabled


def bus_layout_changed : Godot::TypedSignal() #

def bus_layout_changed=(val : Godot::BoundSignal) : Godot::BoundSignal #

Identity setter enabling compound operator sugar (node.bus_layout_changed += ->handler, node.bus_layout_changed -= ->handler)


def bus_layout_changed_signal_hash : UInt64 #

def bus_layout_changed_slot : Lapis::Core::StaticSignalSlot() #

def bus_mute?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_mute


def bus_renamed : Godot::TypedSignal(Int64, String, String) #

def bus_renamed=(val : Godot::BoundSignal) : Godot::BoundSignal #

Identity setter enabling compound operator sugar (node.bus_renamed += ->handler, node.bus_renamed -= ->handler)


def bus_renamed_signal_hash : UInt64 #

def bus_renamed_slot : Lapis::Core::StaticSignalSlot(Int64, String, String) #

def bus_solo?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_solo


def emit_bus_layout_changed : Void #

def emit_bus_renamed(*args) : Void #

def generate_bus_layout : AudioBusLayout #

def get_bus_channels(bus_idx : Int64) : Int64 #

def get_bus_count : Int64 #

def get_bus_effect(bus_idx : Int64, effect_idx : Int64) : AudioEffect #

def get_bus_effect_count(bus_idx : Int64) : Int64 #

def get_bus_effect_instance(bus_idx : Int64, effect_idx : Int64, channel : Int64 = 0_i64) : AudioEffectInstance #

def get_bus_index(bus_name : String) : Int64 #

def get_bus_name(bus_idx : Int64) : String #

def get_bus_peak_volume_left_db(bus_idx : Int64, channel : Int64) : Float64 #

def get_bus_peak_volume_right_db(bus_idx : Int64, channel : Int64) : Float64 #

def get_bus_send(bus_idx : Int64) : String #

def get_bus_volume_db(bus_idx : Int64) : Float64 #

def get_bus_volume_linear(bus_idx : Int64) : Float64 #

def get_driver_name : String #

def get_input_buffer_length_frames : Int64 #

def get_input_device : String #

def get_input_device_list : Pointer(Void) #

def get_input_frames(frames : Int64) : Pointer(Void) #

def get_input_frames_available : Int64 #

def get_input_mix_rate : Float64 #

def get_mix_rate : Float64 #

def get_output_device : String #

def get_output_device_list : Pointer(Void) #

def get_output_latency : Float64 #

def get_playback_speed_scale : Float64 #

def get_speaker_mode : SpeakerMode #

def get_time_since_last_mix : Float64 #

def get_time_to_next_mix : Float64 #

def input_device #

Property #input_device getter


def input_device=(val) #

Property #input_device setter


def is_bus_bypassing_effects(bus_idx : Int64) : Bool #

def is_bus_bypassing_effects?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_bypassing_effects


def is_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64) : Bool #

def is_bus_effect_enabled?(bus_idx : Int64, effect_idx : Int64) : Bool #

Predicate alias for #is_bus_effect_enabled


def is_bus_mute(bus_idx : Int64) : Bool #

def is_bus_mute?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_mute


def is_bus_solo(bus_idx : Int64) : Bool #

def is_bus_solo?(bus_idx : Int64) : Bool #

Predicate alias for #is_bus_solo


def is_stream_registered_as_sample(stream : AudioStream) : Bool #

def is_stream_registered_as_sample?(stream : AudioStream) : Bool #

Predicate alias for #is_stream_registered_as_sample


def lock : Void #

def move_bus(index : Int64, to_index : Int64) : Void #

def output_device #

Property #output_device getter


def output_device=(val) #

Property #output_device setter


def playback_speed_scale #

Property #playback_speed_scale getter


def playback_speed_scale=(val : Number) #

Property #playback_speed_scale setter


def register_stream_as_sample(stream : AudioStream) : Void #

def remove_bus(index : Int64) : Void #

def remove_bus_effect(bus_idx : Int64, effect_idx : Int64) : Void #

def set_bus_bypass_effects(bus_idx : Int64, enable : Bool) : Void #

def set_bus_count(amount : Int64) : Void #

def set_bus_effect_enabled(bus_idx : Int64, effect_idx : Int64, enabled : Bool) : Void #

def set_bus_layout(bus_layout : AudioBusLayout) : Void #

def set_bus_mute(bus_idx : Int64, enable : Bool) : Void #

def set_bus_name(bus_idx : Int64, name : String) : Void #

def set_bus_send(bus_idx : Int64, send : String) : Void #

def set_bus_solo(bus_idx : Int64, enable : Bool) : Void #

def set_bus_volume_db(bus_idx : Int64, volume_db : Float64) : Void #

def set_bus_volume_linear(bus_idx : Int64, volume_linear : Float64) : Void #

def set_enable_tagging_used_audio_streams(enable : Bool) : Void #

def set_input_device(name : String) : Void #

def set_input_device_active(active : Bool) : Godot::Error #

def set_output_device(name : String) : Void #

def set_playback_speed_scale(scale : Float64) : Void #

def stream_registered_as_sample?(stream : AudioStream) : Bool #

Predicate alias for #is_stream_registered_as_sample


def swap_bus_effects(bus_idx : Int64, effect_idx : Int64, by_effect_idx : Int64) : Void #

def unbind_bus_layout_changed(callback : Proc(R)) : Bool forall R #

def unbind_bus_layout_changed(token : UInt64) : Bool #

def unbind_bus_renamed(callback : Proc(Int64, String, String, R)) : Bool forall R #

def unbind_bus_renamed(token : UInt64) : Bool #

def unlock : Void #