CTWM
Loading...
Searching...
No Matches
Functions
/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_sound(), and sound_magic_event_name2num().

Referenced by DoShutdown().

◆ 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(), and sound_magic_event_name2num().

Referenced by ctwm_main().

◆ reread_sounds()

void reread_sounds ( void )

Definition at line 288 of file sound.c.

References sound_load_list().

◆ set_sound_event()

int set_sound_event ( int snd,
const char * soundfile )

Definition at line 329 of file sound.c.

References PlaceX, and rp.

Referenced by set_sound_event_name().

◆ set_sound_event_name()

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

Definition at line 311 of file sound.c.

References event_num_by_name(), PlaceX, set_sound_event(), and sound_magic_event_name2num().

Referenced by sound_load_list().

◆ set_sound_host()

void set_sound_host ( char * host)

Definition at line 297 of file sound.c.

References hostname, HOSTNAME_LEN, PlaceX, and sound_fd.

Referenced by do_string_keyword().

◆ sound_clear_list()

void sound_clear_list ( void )

Definition at line 127 of file sound.c.

References NEVENTS, PlaceX, and rp.

Referenced by 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, PlaceX, rp, and sound_fd.

Referenced by ctwm_main().

◆ sound_load_list()

void sound_load_list ( void )

Definition at line 152 of file sound.c.

References PlaceX, rp, set_sound_event_name(), sound_clear_list(), sound_from_config, and trim_spaces().

Referenced by ctwm_main(), and reread_sounds().

◆ sound_set_from_config()

void sound_set_from_config ( void )

Definition at line 268 of file sound.c.

References sound_from_config.

◆ toggle_sound()

void toggle_sound ( void )

Definition at line 278 of file sound.c.

References sound_state.