chore(vs1053b): comment RIFF header
This commit is contained in:
committed by
Raphael Coeffic
parent
6d6c449c12
commit
a697f285de
@@ -286,10 +286,24 @@ void audioSpiWriteBuffer(const uint8_t * buffer, uint32_t size)
|
||||
}
|
||||
|
||||
const uint8_t RiffHeader[] = {
|
||||
0x52, 0x49, 0x46, 0x46, 0xff, 0xff, 0xff, 0xff, 0x57, 0x41, 0x56, 0x45, 0x66, 0x6d, 0x74, 0x20,
|
||||
0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x7d, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x00,
|
||||
0x02, 0x00, 0x10, 0x00, 0x64, 0x61, 0x74, 0x61, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
'R', 'I', 'F', 'F',
|
||||
0xff, 0xff, 0xff, 0xff, // infinite size
|
||||
'W', 'A', 'V', 'E',
|
||||
'f', 'm', 't', ' ', // fmt chunk
|
||||
0x10, 0x00, 0x00, 0x00, // 16 bytes fmt chunk
|
||||
0x01, 0x00, // PCM
|
||||
0x01, 0x00, // 1 channel
|
||||
0x00, 0x7d, 0x00, 0x00, // 32 kHz
|
||||
0x00, 0xfa, 0x00, 0x00, // 64 kB/s
|
||||
0x02, 0x00, // 2 bytes per block
|
||||
0x10, 0x00, // 16 bits per sample
|
||||
'd', 'a', 't', 'a', // data chunk
|
||||
0xff, 0xff, 0xff, 0xff, // infinite size
|
||||
0x00, 0x00, 0x00, 0x00, // data
|
||||
0x00, 0x00, 0x00, 0x00, // data
|
||||
0x00, 0x00, 0x00, 0x00, // data
|
||||
0x00, 0x00, 0x00, 0x00, // data
|
||||
0x00, 0x00, 0x00, 0x00, // data
|
||||
};
|
||||
|
||||
void audioSendRiffHeader()
|
||||
|
||||
Reference in New Issue
Block a user