Change #280899
| Category | ffmpeg |
| Changed by | Kacper Michajłow <kasper93@gmail.com> |
| Changed at | Sun 06 Sep 2026 00:48:24 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 655dc1af76bc8a2270710994ba6c95126675e9ae |
Comments
avutil/samplefmt: add AV_SAMPLE_FMT_DSD DSD (Direct Stream Digital) is one-bit sigma-delta modulated audio, found on Super Audio CDs and in DSF/DSDIFF files. libavcodec has several decoders producing it internally (dsd_*, dst, wavpack DSD), each converting to float PCM as part of decoding, which makes the bitstream itself inaccessible to API users. Add a dedicated sample format so raw DSD can be carried through the pipeline, e.g. for bit-perfect pass-through to DSD capable DACs. The format has no planar variant, altform references itself. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Changed files
- doc/APIchanges
- libavutil/samplefmt.c
- libavutil/samplefmt.h
- libavutil/version.h
- tests/ref/fate/samplefmt