Back to index

extremetuxracer  0.5beta
Functions
audio.h File Reference
#include "../../etracer.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_audio ()
bool is_audio_open ()
void bind_sounds_to_context (CONST84 char *sound_context, CONST84 char **names, int num_sounds)
bool play_sound (const char *sound_context, int loop)
bool halt_sound (const char *sound_context)
bool set_sound_volume (const char *sound_context, int volume)
void bind_music_to_context (CONST84 char *music_context, CONST84 char *name, int loop)
bool play_music (char *music_context)
bool is_music_playing ()
void update_audio ()
void shutdown_audio ()
void register_sound_tcl_callbacks (Tcl_Interp *ip)

Function Documentation

void bind_music_to_context ( CONST84 char *  music_context,
CONST84 char *  name,
int  loop 
)

Definition at line 792 of file audio.cpp.

{
}
void bind_sounds_to_context ( CONST84 char *  sound_context,
CONST84 char **  names,
int  num_sounds 
)

Definition at line 788 of file audio.cpp.

{
}
bool halt_sound ( const char *  sound_context)

Definition at line 833 of file audio.cpp.

{
    return true;
}

Here is the caller graph for this function:

void init_audio ( )

Definition at line 784 of file audio.cpp.

{
}

Here is the caller graph for this function:

bool is_audio_open ( )
bool is_music_playing ( )

Definition at line 810 of file audio.cpp.

{
    return false;
}
bool play_music ( char *  music_context)

Definition at line 801 of file audio.cpp.

{
    return false;
}

Here is the caller graph for this function:

bool play_sound ( const char *  sound_context,
int  loop 
)

Definition at line 796 of file audio.cpp.

{
    return false;
}

Here is the caller graph for this function:

void register_sound_tcl_callbacks ( Tcl_Interp *  ip)

Definition at line 827 of file audio.cpp.

{
    Tcl_CreateCommand (ip, "tux_bind_sounds", bind_sounds_cb,  0,0);
    Tcl_CreateCommand (ip, "tux_bind_music", bind_music_cb,  0,0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

bool set_sound_volume ( const char *  sound_context,
int  volume 
)

Definition at line 842 of file audio.cpp.

{
    return true;
}

Here is the caller graph for this function:

void shutdown_audio ( )

Definition at line 838 of file audio.cpp.

{
}

Here is the caller graph for this function:

void update_audio ( )

Definition at line 806 of file audio.cpp.

{
}

Here is the caller graph for this function: