Angband
Data Fields
sound_hooks Struct Reference

#include <sound.h>

Data Fields

bool(* open_audio_hook )(void)
 
bool(* close_audio_hook )(void)
 
bool(* load_sound_hook )(const char *filename, int file_type, struct sound_data *data)
 
bool(* unload_sound_hook )(struct sound_data *data)
 
bool(* play_sound_hook )(struct sound_data *data)
 
const struct sound_file_type *(* supported_files_hook )(void)
 

Field Documentation

bool(* close_audio_hook)(void)

Referenced by close_audio(), and init_sound_sdl().

bool(* load_sound_hook)(const char *filename, int file_type, struct sound_data *data)

Referenced by init_sound_sdl(), and load_sound().

bool(* open_audio_hook)(void)

Referenced by init_sound(), and init_sound_sdl().

bool(* play_sound_hook)(struct sound_data *data)

Referenced by init_sound_sdl(), and play_sound().

const struct sound_file_type*(* supported_files_hook)(void)

Referenced by init_sound_sdl(), and load_sound().

bool(* unload_sound_hook)(struct sound_data *data)

Referenced by close_audio(), and init_sound_sdl().


The documentation for this struct was generated from the following file: