|
TB2026-YDS Firmware
|
Internal contract between the decoder facade (decoder.c) and a format backend. More...
Go to the source code of this file.
Data Structures | |
| struct | decoder_backend_t |
| One format backend (MP3 or WAV). Single-stream: one open at a time. More... | |
Variables | |
| const decoder_backend_t | decoder_mp3_backend |
| const decoder_backend_t | decoder_wav_backend |
Internal contract between the decoder facade (decoder.c) and a format backend.
Not a public header: only decoder.c and the per-format backends include it. The facade owns the FILE* (it opens it, sniffs the format, and closes it); a backend keeps its own decoder state and reads PCM from the file handed to open().
|
extern |
|
extern |