master
Hannes 14 years ago
parent 9005a1d94a
commit efdee57086

@ -9,14 +9,18 @@
main()
{
/*
* old_headersize, f und o vorher setzen*/
std::vector<unsigned char> data;
FILE* f = fopen("outputfileulaw.wav", "rb");
rewind(f);
//int old_header_size = 0;
while(!feof(f))
{
unsigned char s;
fread(&s, sizeof s, 1, f);
data.push_back(s);
int* last_word = (int*)&data[data.size()-4];
}
FILE* o = fopen("outputfileulaw.raw", "wb");
int headersize = 4;

Loading…
Cancel
Save