FormatConverterStream : setAudioInfo() does only update the sampleRateConverter? #1718
-
Hi! Maybe I got something wrong, but I've noted that the following code sample results in wrong audio conversation with the FormatConverter class:
The FormatConverter contains correct AudioInfo on input and output side, but the setAudioInfo() implementation seems to only update the internal sampleRateConverter, but not the in begin() initialized numberFormatConverter or channelFormatConverter. So it effectively seems to ignore the stereo to mono conversion. Is this by design? I need to use the FormatConverter as a post processor for decoded MP3 data, and AudioInfo propagation works correctly in the pipeline, but the described internal data structures might not be handled properly. Thank you for your support! Mirko |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This seems to be a bug. I committed a correction |
Beta Was this translation helpful? Give feedback.
This seems to be a bug. I committed a correction