Project Alice
Loading...
Searching...
No Matches
sound Namespace Reference

Classes

class  audio_instance
 
class  sound_impl
 

Functions

void initialize_sound_system (sys::state &state)
 
void change_effect_volume (sys::state &state, float v)
 
void change_interface_volume (sys::state &state, float v)
 
void change_music_volume (sys::state &state, float v)
 
void play_effect (sys::state &state, audio_instance &s, float volume)
 
void play_interface_sound (sys::state &state, audio_instance &s, float volume)
 
void stop_music (sys::state &state)
 
void start_music (sys::state &state, float v)
 
void pause_all (sys::state &state)
 
void resume_all (sys::state &state)
 
void update_music_track (sys::state &state)
 
void play_new_track (sys::state &state)
 
void play_next_track (sys::state &state)
 
void play_previous_track (sys::state &state)
 
native_string get_current_track_name (sys::state &state)
 
audio_instanceget_click_sound (sys::state &state)
 
audio_instanceget_click_left_sound (sys::state &state)
 
audio_instanceget_click_right_sound (sys::state &state)
 
audio_instanceget_tab_budget_sound (sys::state &state)
 
audio_instanceget_hover_sound (sys::state &state)
 
audio_instanceget_checkbox_sound (sys::state &state)
 
audio_instanceget_enact_sound (sys::state &state)
 
audio_instanceget_subtab_sound (sys::state &state)
 
audio_instanceget_delete_sound (sys::state &state)
 
audio_instanceget_autochoose_sound (sys::state &state)
 
audio_instanceget_tab_politics_sound (sys::state &state)
 
audio_instanceget_tab_diplomacy_sound (sys::state &state)
 
audio_instanceget_tab_military_sound (sys::state &state)
 
audio_instanceget_tab_population_sound (sys::state &state)
 
audio_instanceget_tab_production_sound (sys::state &state)
 
audio_instanceget_tab_technology_sound (sys::state &state)
 
audio_instanceget_army_select_sound (sys::state &state)
 
audio_instanceget_army_move_sound (sys::state &state)
 
audio_instanceget_navy_select_sound (sys::state &state)
 
audio_instanceget_navy_move_sound (sys::state &state)
 
audio_instanceget_error_sound (sys::state &state)
 
audio_instanceget_peace_sound (sys::state &state)
 
audio_instanceget_army_built_sound (sys::state &state)
 
audio_instanceget_navy_built_sound (sys::state &state)
 
audio_instanceget_declaration_of_war_sound (sys::state &state)
 
audio_instanceget_technology_finished_sound (sys::state &state)
 
audio_instanceget_factory_built_sound (sys::state &state)
 
audio_instanceget_election_sound (sys::state &state)
 
audio_instanceget_revolt_sound (sys::state &state)
 
audio_instanceget_fort_built_sound (sys::state &state)
 
audio_instanceget_railroad_built_sound (sys::state &state)
 
audio_instanceget_naval_base_built_sound (sys::state &state)
 
audio_instanceget_minor_event_sound (sys::state &state)
 
audio_instanceget_major_event_sound (sys::state &state)
 
audio_instanceget_decline_sound (sys::state &state)
 
audio_instanceget_accept_sound (sys::state &state)
 
audio_instanceget_diplomatic_request_sound (sys::state &state)
 
audio_instanceget_chat_message_sound (sys::state &state)
 
audio_instanceget_console_open_sound (sys::state &state)
 
audio_instanceget_console_close_sound (sys::state &state)
 
audio_instanceget_event_sound (sys::state &state)
 
audio_instanceget_decision_sound (sys::state &state)
 
audio_instanceget_pause_sound (sys::state &state)
 
audio_instanceget_unpause_sound (sys::state &state)
 
audio_instanceget_random_land_battle_sound (sys::state &state)
 
audio_instanceget_random_naval_battle_sound (sys::state &state)
 
audio_instanceget_random_province_select_sound (sys::state &state)
 
constexpr int32_t volume_function (float v)
 

Function Documentation

◆ change_effect_volume()

void sound::change_effect_volume ( sys::state state,
float  v 
)

Definition at line 188 of file sound_nix.cpp.

◆ change_interface_volume()

void sound::change_interface_volume ( sys::state state,
float  v 
)

Definition at line 191 of file sound_nix.cpp.

◆ change_music_volume()

void sound::change_music_volume ( sys::state state,
float  v 
)

Definition at line 194 of file sound_nix.cpp.

◆ get_accept_sound()

audio_instance & sound::get_accept_sound ( sys::state state)

Definition at line 368 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_army_built_sound()

audio_instance & sound::get_army_built_sound ( sys::state state)

Definition at line 329 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_army_move_sound()

audio_instance & sound::get_army_move_sound ( sys::state state)

Definition at line 314 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_army_select_sound()

audio_instance & sound::get_army_select_sound ( sys::state state)

Definition at line 311 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_autochoose_sound()

audio_instance & sound::get_autochoose_sound ( sys::state state)

Definition at line 290 of file sound_nix.cpp.

◆ get_chat_message_sound()

audio_instance & sound::get_chat_message_sound ( sys::state state)

Definition at line 374 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_checkbox_sound()

audio_instance & sound::get_checkbox_sound ( sys::state state)

Definition at line 278 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_click_left_sound()

audio_instance & sound::get_click_left_sound ( sys::state state)

Definition at line 266 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_click_right_sound()

audio_instance & sound::get_click_right_sound ( sys::state state)

Definition at line 269 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_click_sound()

audio_instance & sound::get_click_sound ( sys::state state)

Definition at line 263 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_console_close_sound()

audio_instance & sound::get_console_close_sound ( sys::state state)

Definition at line 380 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_console_open_sound()

audio_instance & sound::get_console_open_sound ( sys::state state)

Definition at line 377 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_current_track_name()

native_string sound::get_current_track_name ( sys::state state)

Definition at line 417 of file sound_nix.cpp.

◆ get_decision_sound()

audio_instance & sound::get_decision_sound ( sys::state state)

Definition at line 387 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_declaration_of_war_sound()

audio_instance & sound::get_declaration_of_war_sound ( sys::state state)

Definition at line 335 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_decline_sound()

audio_instance & sound::get_decline_sound ( sys::state state)

Definition at line 365 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_delete_sound()

audio_instance & sound::get_delete_sound ( sys::state state)

Definition at line 287 of file sound_nix.cpp.

◆ get_diplomatic_request_sound()

audio_instance & sound::get_diplomatic_request_sound ( sys::state state)

Definition at line 371 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_election_sound()

audio_instance & sound::get_election_sound ( sys::state state)

Definition at line 344 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_enact_sound()

audio_instance & sound::get_enact_sound ( sys::state state)

Definition at line 281 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_error_sound()

audio_instance & sound::get_error_sound ( sys::state state)

Definition at line 323 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_event_sound()

audio_instance & sound::get_event_sound ( sys::state state)

Definition at line 384 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_factory_built_sound()

audio_instance & sound::get_factory_built_sound ( sys::state state)

Definition at line 341 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_fort_built_sound()

audio_instance & sound::get_fort_built_sound ( sys::state state)

Definition at line 350 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_hover_sound()

audio_instance & sound::get_hover_sound ( sys::state state)

Definition at line 275 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_major_event_sound()

audio_instance & sound::get_major_event_sound ( sys::state state)

Definition at line 362 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_minor_event_sound()

audio_instance & sound::get_minor_event_sound ( sys::state state)

Definition at line 359 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_naval_base_built_sound()

audio_instance & sound::get_naval_base_built_sound ( sys::state state)

Definition at line 356 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_navy_built_sound()

audio_instance & sound::get_navy_built_sound ( sys::state state)

Definition at line 332 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_navy_move_sound()

audio_instance & sound::get_navy_move_sound ( sys::state state)

Definition at line 320 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_navy_select_sound()

audio_instance & sound::get_navy_select_sound ( sys::state state)

Definition at line 317 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_pause_sound()

audio_instance & sound::get_pause_sound ( sys::state state)

Definition at line 390 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_peace_sound()

audio_instance & sound::get_peace_sound ( sys::state state)

Definition at line 326 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_railroad_built_sound()

audio_instance & sound::get_railroad_built_sound ( sys::state state)

Definition at line 353 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_random_land_battle_sound()

audio_instance & sound::get_random_land_battle_sound ( sys::state state)

Definition at line 397 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_random_naval_battle_sound()

audio_instance & sound::get_random_naval_battle_sound ( sys::state state)

Definition at line 400 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_random_province_select_sound()

audio_instance & sound::get_random_province_select_sound ( sys::state state)

Definition at line 403 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_revolt_sound()

audio_instance & sound::get_revolt_sound ( sys::state state)

Definition at line 347 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_subtab_sound()

audio_instance & sound::get_subtab_sound ( sys::state state)

Definition at line 284 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_budget_sound()

audio_instance & sound::get_tab_budget_sound ( sys::state state)

Definition at line 272 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_diplomacy_sound()

audio_instance & sound::get_tab_diplomacy_sound ( sys::state state)

Definition at line 296 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_military_sound()

audio_instance & sound::get_tab_military_sound ( sys::state state)

Definition at line 299 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_politics_sound()

audio_instance & sound::get_tab_politics_sound ( sys::state state)

Definition at line 293 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_population_sound()

audio_instance & sound::get_tab_population_sound ( sys::state state)

Definition at line 302 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_production_sound()

audio_instance & sound::get_tab_production_sound ( sys::state state)

Definition at line 305 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_tab_technology_sound()

audio_instance & sound::get_tab_technology_sound ( sys::state state)

Definition at line 308 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_technology_finished_sound()

audio_instance & sound::get_technology_finished_sound ( sys::state state)

Definition at line 338 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ get_unpause_sound()

audio_instance & sound::get_unpause_sound ( sys::state state)

Definition at line 393 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ initialize_sound_system()

void sound::initialize_sound_system ( sys::state state)

Definition at line 84 of file sound_nix.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pause_all()

void sound::pause_all ( sys::state state)

Definition at line 226 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ play_effect()

void sound::play_effect ( sys::state state,
audio_instance s,
float  volume 
)

Definition at line 198 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ play_interface_sound()

void sound::play_interface_sound ( sys::state state,
audio_instance s,
float  volume 
)

Definition at line 203 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ play_new_track()

void sound::play_new_track ( sys::state state)

Definition at line 407 of file sound_nix.cpp.

◆ play_next_track()

void sound::play_next_track ( sys::state state)

Definition at line 410 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ play_previous_track()

void sound::play_previous_track ( sys::state state)

Definition at line 413 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ resume_all()

void sound::resume_all ( sys::state state)

Definition at line 240 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ start_music()

void sound::start_music ( sys::state state,
float  v 
)

Definition at line 214 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ stop_music()

void sound::stop_music ( sys::state state)

Definition at line 209 of file sound_nix.cpp.

◆ update_music_track()

void sound::update_music_track ( sys::state state)

Definition at line 255 of file sound_nix.cpp.

Here is the caller graph for this function:

◆ volume_function()

constexpr int32_t sound::volume_function ( float  v)
constexpr

Definition at line 11 of file sound_win.cpp.

Here is the caller graph for this function: