Audio


eax_available

int eax_available

play_sfall_sound

int play_sfall_sound(string file, int loop)

Used to play mp3/wav/wma files. The path given is relative to the Fallout folder. Specify loop as 1 to loop the file continuously, or 0 otherwise. If you don’t wish to loop, it returns 0. If you do loop, it returns an id which can be passed back to stop_sfall_sound when you want to stop the effect. All sounds effects will be stopped on game reload, looping or not. Does not require AllowDShowSound to be set to 1 in ddraw.ini.


set_eax_environment

void set_eax_environment(int environment)

stop_sfall_sound

void stop_sfall_sound(int ptr)

Stops looping mp3/wav/wma files previously launched by play_sfall_sound. All sounds effects will be stopped on game reload, looping or not. Does not require AllowDShowSound to be set to 1 in ddraw.ini.