CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/sound.h File Reference
This graph shows which files directly or indirectly include this file:

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 *)

Function Documentation

◆ play_exit_sound()

void play_exit_sound ( void )

Definition at line 258 of file sound.c.

References play_exit_sound(), play_sound(), and sound_magic_event_name2num().

Referenced by DoShutdown(), and play_exit_sound().

◆ play_sound()

void play_sound ( int snd)

◆ play_startup_sound()

void play_startup_sound ( void )

Definition at line 252 of file sound.c.

References play_sound(), play_startup_sound(), and sound_magic_event_name2num().

Referenced by ctwm_main(), and play_startup_sound().

◆ reread_sounds()

void reread_sounds ( void )

Definition at line 288 of file sound.c.

References reread_sounds(), and sound_load_list().

Referenced by reread_sounds().

◆ set_sound_event()

int set_sound_event ( int snd,
const char * soundfile )

Definition at line 329 of file sound.c.

References rp, and set_sound_event().

Referenced by set_sound_event(), and set_sound_event_name().

◆ set_sound_event_name()

int set_sound_event_name ( const char * ename,
const char * soundfile )

◆ set_sound_host()

void set_sound_host ( char * host)

Definition at line 297 of file sound.c.

References hostname, HOSTNAME_LEN, set_sound_host(), and sound_fd.

Referenced by do_string_keyword(), and set_sound_host().

◆ sound_clear_list()

void sound_clear_list ( void )

Definition at line 127 of file sound.c.

References NEVENTS, rp, and sound_clear_list().

Referenced by sound_clear_list(), and sound_load_list().

◆ sound_init()

void sound_init ( void )

Definition at line 84 of file sound.c.

References hostname, HOSTNAME_LEN, need_sound_init, NEVENTS, rp, sound_fd, and sound_init().

Referenced by ctwm_main(), and sound_init().

◆ sound_load_list()

void sound_load_list ( void )

◆ sound_set_from_config()

void sound_set_from_config ( void )

Definition at line 268 of file sound.c.

References sound_from_config, and sound_set_from_config().

Referenced by sound_set_from_config().

◆ toggle_sound()

void toggle_sound ( void )

Definition at line 278 of file sound.c.

References sound_state, and toggle_sound().

Referenced by toggle_sound().