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


#define SOUND_PRF_FORMAT   "sound sym type str sounds"


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

#define SOUND_PRF_FORMAT   "sound sym type str sounds"

Function Documentation

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

Init the sound "module".

References close_audio(), event_add_handler(), EVENT_SOUND, hooks, i, NULL, sound_hooks::open_audio_hook, play_sound(), and streq.

Referenced by main().

void print_sound_help ( void  )

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

References i, int, and N_ELEMENTS.

Referenced by main().

errr register_sound_pref_parser ( struct parser p)