Sound | |
Functions | |
snd_set_channel | Sets the parameters for a sound channel. |
snd_load_wv | Loads a wavpack compressed sound. |
snd_play_at | Plays a sound at a specified postition. |
snd_play | Plays a sound. |
snd_stop | Stops a currenly playing sound. |
snd_set_listener_pos | Sets the listener posititon. |
Sets the parameters for a sound channel.
void snd_set_channel( int cid, float vol, float pan )
Loads a wavpack compressed sound.
int snd_load_wv( const char * filename )
Plays a sound at a specified postition.
int snd_play_at( int cid, int sid, int flags, float x, float y )
Plays a sound.
int snd_play( int cid, int sid, int flags )
Stops a currenly playing sound.
void snd_stop( int id )
Sets the listener posititon.
void snd_set_listener_pos( float x, float y )