f303k8 wav player
Dependencies: SDFileSystem mbed
wavChunks.h
- Committer:
- nameless129
- Date:
- 2016-08-11
- Revision:
- 1:7a3f34b2d18b
- Parent:
- 0:1561c4efda0e
File content as of revision 1:7a3f34b2d18b:
#ifndef __WAVCHUNKS_H_ #define __WAVCHUNKS_H_ #define RIFFHedderSize (12) struct RIFFHedder_s { uint32_t riff; int32_t size; uint32_t type; }; #define BextChunkSize (4) struct BextChunk_s { // uint32_t ckID; int32_t ckSize; }; #define FormatChunkSize (20) struct FormatChunk_s { // uint32_t id; int32_t size; int16_t format; uint16_t channels; uint32_t samplerate; uint32_t bytepersec; uint16_t blockalign; uint16_t bitswidth; }; #define DataChunkSize (8) struct DataChunk_s { uint32_t id; int32_t size; }; #endif