yulian

Reputation Top 5%
yulian khlevnoy
1 Snippet
(689th place)
Published
1 Channel
Created
1 Channel
Following
35 points (913rd place)
Reputation
Junior Code Generator
Junior Publisher
Junior Popular Coder
Junior Autobiographer
Senior Autobiographer
Junior Wise Coder
Recent Snippets See all snippets by yulian
typedef unsigned short byte2; typedef unsigned long byte4; struct header { /* totally 44 bytes; endianness (all the rest are little) */ /* RIFF */ char ChunkID[4]; // big byte4 ChunkSize; char Format[4]; // big /* fmt */ char SubChunk1ID[4]; // big byte4 SubChunk1Size; byte2 AudioFormat; byte2 NumChannels; byte4 SampleRate; byte4 ByteRate; byte2 BlockAlign; byte2 BitsPerSample; /* data */ char SubChunk2ID[4]; // big byte4 SubChunk2Size; };