Refactored WAV code in to its own file
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
12
source/all.h
Normal file
12
source/all.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <errno.h>
|
||||
|
||||
/* Channel to play music on */
|
||||
#define CHANNEL 0x08
|
||||
|
||||
/* Adds extra debugging text */
|
||||
#define DEBUG 0
|
||||
|
||||
/* Prints more error information */
|
||||
#define err_print(err) \
|
||||
do { fprintf(stderr, "\nError %d:%s(): %s %s\n", __LINE__, __func__, \
|
||||
err, strerror(errno)); } while (0)
|
||||
Reference in New Issue
Block a user