PointClickEngine::Audio::AudioManager
Inherits Reference < Object
Main audio manager using component-based architecture
Constructors
new
SourceClass methods
available?
SourceInstance methods
clear_cache
Sourcecrossfade_to(name : String, duration : Float32 = 2.0, loop : Bool = true)
Sourcecurrent_music(*args, **options)
Sourcecurrent_music(*args, **options, &)
Sourceevent_bus=(event_bus : Core::Events::EventBus | Nil)
Optional EventBus for publishing audio events
get_cache_stats
Sourceload_settings(settings)
Sourceload_sound_effect(name : String, file_path : String)
Sound effect methods (delegate to manager)
music_manager
Sourcemusic_volume
Sourcemusic_volume=(value : Float32)
Sourcemuted(*args, **options)
Sourcemuted(*args, **options, &)
Sourcemuted=(value : Bool)
Sourcepause_music
Sourceplay_music(name : String, loop : Bool = true)
Sourceplay_sound_at(name : String, position : RL::Vector2, listener_pos : RL::Vector2, max_distance : Float32 = 500.0)
Sourceplay_sound_effect(name : String)
Sourcepreload_music(tracks : Array(Tuple(String, String)))
Sourceresource_cache
Sourceresume_music
Sourceset_music_volume(volume : Float32)
Sourceset_sfx_volume(volume : Float32)
Sourcesfx_volume
Sourcesfx_volume=(value : Float32)
Sourcestop_music
Sourcetoggle_mute
Sourceunload_music(name : String)
Sourcevolume_controller
Source