Open espradio opened 3 months ago
Now all decoder only support 16bits output, I think better to provide some log to check where the 32bits report from. I test the given stream, it always reports 44.1k, 16bits, 1channel.
The output from esp-adf-lib W (3165176) MP3_DECODER: Music information changed. sample_rate = 44100 : channels = 1 VLC codec stats https://dc4.serverse.com/proxy/ccmxrgub/stream show it is 32bit, 1 channel
@espradio I have checked your file, which is 44.1k, 16bits, and 1 channel, too. Did you get any audio quality issues on this stream? You know, in principle, the MP3 encoder does not support encoding 32-bit data.
When AEL_MSG_CMD_REPORT_MUSIC_INFO generates, it generate wrong music info(it is 32bit and Ch = 1) sometimes. Looks like MP3 decoder able to detect later (See MP3_DECODER: Music information changed message), What is AEL_MSG to detects this so that downstream component can be properly reconfigured at runtime.
log
code
Code versions:
esp-adf
esp-adf-libs