How audio conversion works in SFBAudioConverter
mainThe SFBAudioConverter performs high-level conversion using a three-step pipeline:
- Decode: An audio decoder reads PCM audio from the source in its native processing format.
- Intermediate Conversion: The audio is converted to an intermediate PCM format.
- Encode: An audio encoder writes that intermediate PCM audio to the final desired format.
Note: The decoder's processing format and the intermediate format must both be PCM, but they do not need to share the same sample rate, bit depth, channel count, or channel layout.