libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
wav_format.h
Go to the documentation of this file.
1#pragma once
2#ifndef DSY_WAV_FORMAT_H
3#define DSY_WAV_FORMAT_H
4
5#include <stdint.h>
6
12namespace daisy
13{
15const uint32_t kWavFileChunkId = 0x46464952;
16const uint32_t kWavFileWaveId = 0x45564157;
17const uint32_t kWavFileSubChunk1Id = 0x20746d66;
18const uint32_t kWavFileSubChunk2Id = 0x61746164;
36
54
55} // namespace daisy
56
57#endif
Definition leddriver.h:33
Hardware defines and helpers for daisy field platform.
Definition index.h:2
const uint32_t kWavFileChunkId
Definition wav_format.h:15
const uint32_t kWavFileSubChunk2Id
Definition wav_format.h:18
const uint32_t kWavFileWaveId
Definition wav_format.h:16
WavFileFormatCode
Definition wav_format.h:29
@ WAVE_FORMAT_ALAW
Definition wav_format.h:32
@ WAVE_FORMAT_EXTENSIBLE
Definition wav_format.h:34
@ WAVE_FORMAT_ULAW
Definition wav_format.h:33
@ WAVE_FORMAT_PCM
Definition wav_format.h:30
@ WAVE_FORMAT_IEEE_FLOAT
Definition wav_format.h:31
const uint32_t kWavFileSubChunk1Id
Definition wav_format.h:17
Definition wav_format.h:39
uint32_t SubChunk1ID
Definition wav_format.h:43
uint16_t BlockAlign
Definition wav_format.h:49
uint32_t SubChunk1Size
Definition wav_format.h:44
uint32_t ByteRate
Definition wav_format.h:48
uint32_t FileFormat
Definition wav_format.h:42
uint32_t ChunkId
Definition wav_format.h:40
uint32_t SubCHunk2Size
Definition wav_format.h:52
uint16_t NbrChannels
Definition wav_format.h:46
uint16_t BitPerSample
Definition wav_format.h:50
uint32_t FileSize
Definition wav_format.h:41
uint32_t SubChunk2ID
Definition wav_format.h:51
uint16_t AudioFormat
Definition wav_format.h:45
uint32_t SampleRate
Definition wav_format.h:47