Core Audio Format Always Returns 32 bits per sample

When using the CAF reader, it always reports back 32 bits per sample (hardcoded to do so). Can this be changed to report back the actual bit depth of the file (the caf file I am reading is 24 bit lpcm)?

I think it gets automatically converted to 32-bit float when reading which is what this number represents?

I realize that, but need the original bit depth.

Did you try meta data?
CoreAudioFormatMetatdata::AudioDescriptionChunk

I haven’t tested it or check if it’s private/protected from you. but you can basically provide it an InputStream.