FLAC decoder not working ...

starn02
Posts: 2
Joined: Wed Jan 30, 2019 1:42 pm

FLAC decoder not working ...

Postby starn02 » Wed Jan 30, 2019 1:58 pm

I'm trying the example pipeline_http_select_decoder, and it's working ok with MP3, but when I try FLAC I get no sound at all...
monitor shows that everything is OK, no error messages ... last message is

I (6270) HTTP_SELECT_FLAC_EXAMPLE: [ * ] Receive music info from flac decoder, sample_rates=44100, bits=16, ch=2

but no output (I2S BCLK and LRCLK are OK, no SDATA).
Is there any special requirement for the flac decoder? Has it been tested?
Thank you

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: FLAC decoder not working ...

Postby jason.mao » Fri Feb 01, 2019 2:57 am

Hi starn02

Did you test FLAC file placed on SDCARD?

Thanks.

starn02
Posts: 2
Joined: Wed Jan 30, 2019 1:42 pm

Re: FLAC decoder not working ...

Postby starn02 » Fri Feb 01, 2019 9:21 am

No, I used the example as described by modifying the #define about which codec to use.
MP3 is working, so http connection is ok. FLAC is not working.
Moreover I downloaded the flac file from the link, it's OK.

And I must underline: the monitor shows no errors, and even shows the playback timing increasing, so everything seems OK,
but no data on SDATA line. It's like the flac decoder actually write 0s or don't write anything towards the I2S driver.

Is there a way to increase the log detail so as to understand where the data is lost?

Who is online

Users browsing this forum: No registered users and 25 guests