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

@@ -1,12 +1,11 @@
#include <3ds.h>
#include <opus/opusfile.h>
#include <stdlib.h>
#include <string.h>
#include "all.h"
#include "opus.h"
#define SAMPLES_TO_READ (32 * 1024)
#define CHANNEL 0x08
int playOpus(const char* in)
{