AllegroFlare/AudioController
view source (cpp, hpp, quintessence) • view tests (test file)
  
    Properties
     
  | sample_bin | AllegroFlare::SampleBin* | 
  | sound_effects_identifier_prefix | std::string | 
  | music_tracks_identifier_prefix | std::string | 
  | sound_effect_elements | std::map<std::string, AllegroFlare::AudioRepositoryElement> | 
  | music_track_elements | std::map<std::string, AllegroFlare::AudioRepositoryElement> | 
  | sound_effects | std::map<std::string, AllegroFlare::Sound*> | 
  | music_tracks | std::map<std::string, AllegroFlare::Sound*> | 
  | current_music_track_identifier | std::string | 
  | global_volume | float | 
  | output_loading_debug_to_cout | bool | 
  | initialized | bool | 
  | music_tracks_loaded | bool | 
  | sound_effects_loaded | bool | 
    
     Methods
     
  | initialize() | 
  | set_and_load_sound_effect_elements(std::map<std::string, AllegroFlare::AudioRepositoryElement> sound_effect_elements={}) | 
  | set_and_load_music_track_elements(std::map<std::string, AllegroFlare::AudioRepositoryElement> music_track_elements={}) | 
  | load_sound_effects() | 
  | load_music_tracks() | 
  | destruct() | 
  | destruct_all() | 
  | destruct_all_sound_effects() | 
  | destruct_all_music_tracks() | 
  | stop_all() | 
  | stop_all_music_tracks() | 
  | stop_all_sound_effects() | 
  | set_global_volume(float volume=0.1) | 
  | play_sound_effect(std::string identifier="a-sound-effect-identifier-that-is-not-set") | 
  | play_music_track(std::string identifier="a-music-track-identifier-that-is-not-set") | 
  | sound_effect_element_exists(std::string identifier="a-sound-effect-identifier-that-is-not-set") | 
  | find_sound_effect_sound_object_by_identifier(std::string identifier="a-sound-effect-identifier-that-is-not-set") | 
  | find_sound_effect_element_by_identifier(std::string identifier="a-sound-effect-identifier-that-is-not-set") | 
  | find_music_track_sound_object_by_identifier(std::string identifier="a-music-track-identifier-that-is-not-set") | 
  | music_track_element_exists(std::string identifier="a-music-track-identifier-that-is-not-set") | 
  | find_music_track_element_by_identifier(std::string identifier="a-music-track-identifier-that-is-not-set") | 
  | dump_to_cout() | 
    
     Dependencies
     
  | {"symbol"=>"AllegroFlare::Logger", "headers"=>["AllegroFlare/Logger.hpp"]} | 
  | {"symbol"=>"AllegroFlare::TerminalColors", "headers"=>["AllegroFlare/TerminalColors.hpp"]} | 
  | {"symbol"=>"AllegroFlare::SampleBin", "headers"=>["AllegroFlare/SampleBin.hpp"]} | 
  | {"symbol"=>"AllegroFlare::SampleBin*", "headers"=>["AllegroFlare/SampleBin.hpp"]} | 
  | {"symbol"=>"AllegroFlare::AudioRepositoryElement", "headers"=>["AllegroFlare/AudioRepositoryElement.hpp"]} | 
  | {"symbol"=>"std::map<std::string, AllegroFlare::AudioRepositoryElement>", "headers"=>["map", "string", "AllegroFlare/AudioRepositoryElement.hpp"]} | 
  | {"symbol"=>"std::map<std::string, AllegroFlare::Sound*>", "headers"=>["map", "string", "AllegroFlare/Sound.hpp"]} | 
  | {"symbol"=>"AllegroFlare::Sound*", "headers"=>["AllegroFlare/Sound.hpp"]} | 
  | {"symbol"=>"al_is_audio_initialized", "headers"=>["allegro5/allegro_audio.h"]} | 
  | {"symbol"=>"al_is_acodec_addon_initialized", "headers"=>["allegro5/allegro_acodec.h"]} | 
  | {"symbol"=>"AllegroFlare::Sound", "headers"=>["AllegroFlare/Sound.hpp"]} | 
  | {"symbol"=>"AllegroFlare::Logger", "headers"=>["AllegroFlare/Logger.hpp"]} | 
    
    
Sponsor
Get the best designed cat shirts at clubatt.com