Commit Graph

13 Commits

Author SHA1 Message Date
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
David Sansome 7fdaff079d Don't try to stop the chromaprinter event loop a second time after it's
already been stopped.  This can happen if the song is exactly 30 seconds long.

Fixes issue 4001
2013-12-03 20:32:26 +11:00
David Sansome e4f0f25feb Use utf-8 instead of the local system encoding when passing filenames to gstreamer in the chromaprinter. Might fix issue 3703. 2013-06-01 12:55:59 +10:00
John Maguire 90803fa0e0 Remove use of deprecated gstreamer functions. 2013-01-29 13:19:26 +01:00
David Sansome 145b811eef Fix a memory leak when fingerprinting songs. Fixes issue 3403. 2013-01-06 07:51:48 +11:00
John Maguire cbc650f44b Use CHECKED_GCONNECT instead of g_signal_connect everywhere. 2012-06-08 15:34:00 +02:00
John Maguire 822d766a04 Add constants for chromaprinter decode rate & channels. 2012-02-02 14:15:55 +01:00
John Maguire 4157169ab5 Fix leak of Chromaprint context. 2012-02-02 14:13:34 +01:00
John Maguire 0c5f422eb8 * Add check that chromaprinter is only used from a non-UI thread.
* Update copyright date
2012-01-09 15:32:15 +01:00
David Sansome d17629586f Use the system version of libchromaprint if available 2012-01-07 15:27:50 +00:00
John Maguire 9bb37fda62 Disable callbacks after generating fingerprint. 2012-01-06 16:45:34 +00:00
John Maguire db83c411c2 * Use Chromaprinter instead of OFA fingerprinter.
* Send fingerprint to Acoustid instead of MusicDNS.
* Retrieve MBID instead of PUID and send to Musicbrainz.
2012-01-06 16:31:29 +00:00
John Maguire 423295b01e Add Chromaprinter class to generate fingerprint from gstreamer PCM output. 2012-01-06 15:58:46 +00:00