A lean and efficient container format which provides Header records with audio info, Audio records with the audio and Meta which can contain any additional information. This can be used together with a codec which does not transmit the audio information or has variable frame lengths. We expect that a single write() is providing full frames.
More...
#include <string.h>
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
#include "AudioTools/CoreAudio/AudioBasic/StrView.h"
Go to the source code of this file.
|
| audio_tools |
| Generic Implementation of sound input and output for desktop environments using portaudio.
|
|
|
enum | BinaryContainerEncoderError { InvalidHeader
, InvalidChecksum
, DataMissing
} |
| Error types.
|
|
enum class | ContainerType : uint8_t { Header = 1
, Audio = 2
, Meta = 3
, Undefined = 0
} |
|
|
static uint8_t | checkSum (const uint8_t *data, size_t len) |
| Calculates the checksum.
|
|
A lean and efficient container format which provides Header records with audio info, Audio records with the audio and Meta which can contain any additional information. This can be used together with a codec which does not transmit the audio information or has variable frame lengths. We expect that a single write() is providing full frames.
- Author
- Phil Schatzmann
- Version
- 0.1
- Date
- 2022-05-04
- Copyright
- Copyright (c) 2022