|
CTWM
|
Go to the source code of this file.
Functions | |
| void | sound_init (void) |
| void | sound_clear_list (void) |
| void | sound_load_list (void) |
| void | play_sound (int) |
| void | play_startup_sound (void) |
| void | play_exit_sound (void) |
| void | sound_set_from_config (void) |
| void | toggle_sound (void) |
| void | reread_sounds (void) |
| void | set_sound_host (char *) |
| int | set_sound_event_name (const char *, const char *) |
| int | set_sound_event (int, const char *) |
| void play_exit_sound | ( | void | ) |
Definition at line 258 of file sound.c.
References play_sound(), and sound_magic_event_name2num().
Referenced by DoShutdown().
| void play_sound | ( | int | snd | ) |
Definition at line 222 of file sound.c.
References need_sound_init, NEVENTS, rp, sound_fd, and sound_state.
Referenced by DispatchEvent(), DispatchEvent2(), play_exit_sound(), and play_startup_sound().
| void play_startup_sound | ( | void | ) |
Definition at line 252 of file sound.c.
References play_sound(), and sound_magic_event_name2num().
Referenced by ctwm_main().
| void reread_sounds | ( | void | ) |
Definition at line 288 of file sound.c.
References sound_load_list().
| int set_sound_event | ( | int | snd, |
| const char * | soundfile ) |
| int set_sound_event_name | ( | const char * | ename, |
| const char * | soundfile ) |
Definition at line 311 of file sound.c.
References event_num_by_name(), set_sound_event(), and sound_magic_event_name2num().
Referenced by sound_load_list().
| void set_sound_host | ( | char * | host | ) |
Definition at line 297 of file sound.c.
References hostname, HOSTNAME_LEN, and sound_fd.
Referenced by do_string_keyword().
| void sound_clear_list | ( | void | ) |
Definition at line 127 of file sound.c.
Referenced by sound_load_list().
| void sound_init | ( | void | ) |
Definition at line 84 of file sound.c.
References hostname, HOSTNAME_LEN, need_sound_init, NEVENTS, rp, and sound_fd.
Referenced by ctwm_main().
| void sound_load_list | ( | void | ) |
Definition at line 152 of file sound.c.
References rp, set_sound_event_name(), sound_clear_list(), sound_from_config, and trim_spaces().
Referenced by ctwm_main(), and reread_sounds().
| void sound_set_from_config | ( | void | ) |
Definition at line 268 of file sound.c.
References sound_from_config.
| void toggle_sound | ( | void | ) |
Definition at line 278 of file sound.c.
References sound_state.