|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Pure C++20 MPEG-1 Layer III (MP3) codec - decoder and encoder. More...
#include "AudioFile.h"#include <algorithm>#include <array>#include <cmath>#include <cstdint>#include <cstring>#include <fstream>#include <vector>#include <filesystem>

Go to the source code of this file.
Classes | |
| class | dspark::Mp3File |
Namespaces | |
| namespace | dspark |
| Main namespace for the DSPark framework. | |
Pure C++20 MPEG-1 Layer III (MP3) codec - decoder and encoder.
Full MP3 codec supporting both reading and writing:
Decoder: Decodes MPEG-1 Layer III to normalised float [-1, 1].
Encoder: Encodes float audio to MPEG-1 Layer III CBR.
Threading: owner-managed. One instance serves one file from one thread at a time; no internal synchronization (see AudioFile.h).
Dependencies: IO/AudioFile.h (Core/AudioBuffer.h, Core/AudioSpec.h).
Definition in file Mp3File.h.