Chromaprint API default config is different than the one used in Chromaprint::Fingerprinter

Bug #669074 reported by Anatoliy Atanasov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Chromaprint
New
Undecided
Unassigned

Bug Description

In Chromaprint API the recommended value for the algorithm used during the creation of a context is CHROMAPRINT_ALGORITHM_DEFAULT which corresponds to CHROMAPRINT_ALGORITHM_TEST2

In the C++ code Chromaprint::Fingerprinter constructor's default value for this algorithm, if nothing is specified, is CHROMAPRINT_ALGORITHM_TEST1

This difference leads to different fingerprints between the API and the C++ classes to compare results.

The workaround for this is to explicitly use the same value of the config parameter for the both instances.

Revision history for this message
Lukáš Lalinský (luks) wrote :

The C++ code is not meant to be public (it could be, but it would have to be rewritten so that we can easily maintain binary compatibility). I kept it on CHROMAPRINT_ALGORITHM_TEST1 for now, so that some tests that I've written before still work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.