Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FLAC decoder testbench (Read 25592 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: FLAC decoder testbench

Reply #75
Only file 63 differs, and file 64 has been added between revision 6 and revision 7. Anyway, thanks for testing!
Music: sounds arranged such that they construct feelings.

Re: FLAC decoder testbench

Reply #76
Tested files 63 and 64 from v7.  They play fine.

Re: FLAC decoder testbench

Reply #77
Added to the table. Interpreting "will be down-sampled" as not being part of the decoder (rather subsequent processing) I have not remarked those. Could be filled in "Remarks" if one wants to.

Re: FLAC decoder testbench

Reply #78
Added to the table. Interpreting "will be down-sampled" as not being part of the decoder (rather subsequent processing) I have not remarked those. Could be filled in "Remarks" if one wants to.
BTW, ability to correctly play files 19-21 depends of device/program to do resampling rather than ability to correctly decode FLAC

Re: FLAC decoder testbench

Reply #79
Yes, but it would be nice to recognize during parsing of the FLAC file already that the device is unable to render a file properly. In other words, a file with a samplerate that a device cannot play should be gracefully skipped, informing the user the file is unplayable, instead of mangling or even crashing.
Music: sounds arranged such that they construct feelings.

Re: FLAC decoder testbench

Reply #80
I am not sure if resampling is "mangling" when it comes to a hardware player. To pinpoint it: what if the device doesn't even have any digital output? If it decodes the FLAC file then it decodes the FLAC file, even if what the device outputs is analog-only.
Even if an in-car player has a digital connection, how many in-car DACs support sampling rates of 54321 kHz? I'd say it is fair game for the purpose to resample to 48000 or 44100.

Re: FLAC decoder testbench

Reply #81
With mangling I actually meant playback at wrong speed, not resampling.
Music: sounds arranged such that they construct feelings.

Re: FLAC decoder testbench

Reply #82
54321 is still not as malicious as 76543 (prime). SSRC in foobar supports 54321 but not 76543, setting the output to 76543 the result will be an untouched file with no warning or error. RetroArch and foo_dsp_resampler for example have no issue with 76543.

In the case of hardware resampler chips there are also limitations on maximum resampling ratios. For example Cirrus Logic CS8421, CS8422 and TI SRC4192, SRC4193. I have a very old Roland synth/interface with a very old CS8420.

Re: FLAC decoder testbench

Reply #83
I was able to test a Mazda Connect unit today in a 2024 CX-90.  I'm not sure if Mazda Connect has generations like the Toyota Entune I tested. (Entune 2.0, 3.0 etc)

This unit is a Panasonic unit, running Mazda Connect software version 10010 (https://car.panasonic.jp/oss/h04lmm2/)

Tested with revision 7 of the Flac testbench. (64 tracks)

All files played! 

The only minor issue I experienced is when track 27 finishes, it doesn't automatically move onto the next track.  The unit doesn't appear to hang, but does require me to manually advance to the next track.


Edit:  I'll see if I can find anything in the manual for any limitations, like if any tracks get down sampled...

Re: FLAC decoder testbench

Reply #84
I've added your results to the wikipage. Thanks! Nice to see a hardware device has been found that really does playback all files properly.
Music: sounds arranged such that they construct feelings.

Re: FLAC decoder testbench

Reply #85
I couldn't find anything in the manual, or online,  about what codecs are supported or any limitations of those codecs.  Looking through the licenses, the unit looks to be ARM based, likely a Linux based OS.  Seems to be using gstreamer for decoding audio files.  I thinks there's support for ALAC as well.