Refactored WAV code in to its own file

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2016-12-29 21:15:19 +00:00
parent 42b61ba7f0
commit aa39c2f3fb
7 changed files with 222 additions and 208 deletions

View File

@@ -2,9 +2,9 @@
#define DR_FLAC_IMPLEMENTATION
#include <./dr_libs/dr_flac.h>
#include "all.h"
#define SAMPLES_TO_READ (16 * 1024)
#define CHANNEL 0x08
int playFlac(const char* in)
{