Take care of WAVE file byte order wrt machine byte order

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3608 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2011-05-13 23:55:45 +00:00
parent 2bdc18f95b
commit c0cabf8bcb
2 changed files with 75 additions and 26 deletions
+1
View File
@@ -64,6 +64,7 @@ typedef struct
// internal
bool writing;
FILE *fp;
unsigned bytesPerSample;
uint32_t data_ofs;
uint32_t data_size;
uint32_t max_pcm;