On Tue, Sep 8, 2026 at 3:02 PM Portisch via ffmpeg-devel <[email protected]> wrote: > > The core substream header carries the source PCM resolution > (source_pcm_res), but bits_per_raw_sample was always left at 0. > Export the actual value so consumers of the decoded frame can > tell the original bit depth of the DCA core stream. >
bits_per_raw_sample is not designed to indicate the source bitdepth, but the bitdepth of the actual decoded raw audio - which does not apply to float (or at best its fixed at 32). But it would be used to indicate a 24-bit decoder using a 32-bit sample format, for example (as DTS-HD will as well). Having bits_per_raw_sample mismatch the actual output audio can cause issues for applications expecting it to be consistent. - Hendrik _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
