liblc3codec icon indicating copy to clipboard operation
liblc3codec copied to clipboard

How to verify the codec is correct or not?

Open loginerrort opened this issue 4 years ago • 1 comments

Hi @aescolar ,

There is a LC3 sample binary file on BluetoothSIG working group which can be used to verify the correctness.
I found that inputs of the CLI tool are different from this API, this made me hard to verify it.
In this library, the encoder and decoder should pass byte_count argument into run method. That's mean compress a frame duration data into byte_count size. But the CLI tool only can be provided a target bit rate, and it would try to reach the bit rate.
Because of this difference, I don't know how to use that tool decode the data encoded by this API.
Would you have any idea about it?

I found the branch name "sneak_peek". Where can I found the source of it?

Regards

loginerrort avatar May 29 '21 02:05 loginerrort

Hi @loginerrort. The codec was verified by the author. The verification code is not part of this sneak peek branch though. Unfortunately I can't provide you support on how you could verify it on your own.

You can find more background for this repo/branch here: https://github.com/zephyrproject-rtos/liblc3codec/pull/1#issuecomment-814084633

aescolar avatar Jun 01 '21 09:06 aescolar