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

◆ close_audio_hook

bool(* close_audio_hook) (void)

Referenced by close_audio(), and init_sound_sdl().

◆ load_sound_hook

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

Referenced by init_sound_sdl(), and load_sound().

◆ open_audio_hook

bool(* open_audio_hook) (void)

Referenced by init_sound(), and init_sound_sdl().

◆ play_sound_hook

bool(* play_sound_hook) (struct sound_data *data)

Referenced by init_sound_sdl(), and play_sound().

◆ supported_files_hook

const struct sound_file_type*(* supported_files_hook) (void)

Referenced by init_sound_sdl(), and load_sound().

◆ unload_sound_hook

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: