|
arduino-audio-tools
|
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"Go to the source code of this file.
Classes | |
| struct | IMAState |
| struct | WavIMAAudioInfo |
| Sound information which is available in the WAV header - adjusted for IMA ADPCM. More... | |
| class | WavIMADecoder |
| Obsolete: WavIMADecoder - based on WAVDecoder - We parse the header data as we receive it and send the sound data to the stream which was indicated in the constructor. Only WAV files with WAVE_FORMAT_IMA_ADPCM are supported by this codec! More... | |
| class | WavIMAHeader |
Namespaces | |
| namespace | audio_tools |
| Generic Implementation of sound input and output for desktop environments using portaudio. | |
Macros | |
| #define | READ_BUFFER_SIZE 512 |
| #define | TAG(a, b, c, d) ((static_cast<uint32_t>(a) << 24) | (static_cast<uint32_t>(b) << 16) | (static_cast<uint32_t>(c) << 8) | (d)) |
| #define | WAVE_FORMAT_IMA_ADPCM 0x0011 |
Enumerations | |
| enum | chunk_result { IMA_ERR_INVALID_CHUNK = -2 , IMA_ERR_INVALID_CONTAINER , IMA_CHUNK_OK , IMA_CHUNK_UNKNOWN } |
| Parser for Wav header data adjusted for IMA ADPCM format - partially based on CodecWAV.h for details see https://de.wikipedia.org/wiki/RIFF_WAVE. More... | |
Variables | |
| const int16_t | ima_index_table [16] |
| const int32_t | ima_step_table [89] |
| const char * | wav_ima_mime = "audio/x-wav" |
| #define READ_BUFFER_SIZE 512 |
| #define TAG | ( | a, | |
| b, | |||
| c, | |||
| d | |||
| ) | ((static_cast<uint32_t>(a) << 24) | (static_cast<uint32_t>(b) << 16) | (static_cast<uint32_t>(c) << 8) | (d)) |
| #define WAVE_FORMAT_IMA_ADPCM 0x0011 |