Angband
Data Structures | Macros | Functions
sound.h File Reference

Sound handling. More...

Go to the source code of this file.

Data Structures

struct  sound_data
 
struct  sound_file_type
 
struct  sound_hooks
 

Macros

#define SOUND_PRF_FORMAT   "sound sym type str sounds"
 

Functions

errr init_sound (const char *soundstr, int argc, char **argv)
 Init the sound "module". More...
 
errr register_sound_pref_parser (struct parser *p)
 
void print_sound_help (void)
 Print out the 'help' information for the sound module. More...
 

Detailed Description

Sound handling.

Copyright (c) 2016 Graeme Russ

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Macro Definition Documentation

◆ SOUND_PRF_FORMAT

#define SOUND_PRF_FORMAT   "sound sym type str sounds"

Function Documentation

◆ init_sound()

errr init_sound ( const char *  soundstr,
int  argc,
char **  argv 
)

◆ print_sound_help()

void print_sound_help ( void  )

Print out the 'help' information for the sound module.

References sound_module::help, i, int, and N_ELEMENTS.

Referenced by main().

◆ register_sound_pref_parser()

errr register_sound_pref_parser ( struct parser p)