Major cleanup.

This commit is contained in:
Steveice10
2017-02-17 23:47:03 -08:00
parent 697b1308d8
commit fbac545897
14 changed files with 843 additions and 629 deletions

View File

@@ -1,8 +1,6 @@
#ifndef WAV_H
#define WAV_H
#include <stdio.h>
#include "../types.h"
typedef struct {
@@ -10,10 +8,6 @@ typedef struct {
u32 chunkSize;
} WavChunkHeader;
typedef struct {
char format[4];
} WavRiffChunk;
typedef struct {
u16 format;
u16 numChannels;
@@ -29,7 +23,6 @@ typedef struct {
} WavDataChunk;
typedef struct {
WavRiffChunk riff;
WavFormatChunk format;
WavDataChunk data;
} WAV;