~ubuntu-branches/debian/jessie/acoustid-fingerprinter/jessie

« back to all changes in this revision

Viewing changes to fingerprintcalculator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams
  • Date: 2011-08-25 21:10:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825211042-a3o6kqh1sk2w7qlq
Tags: 0.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    chromaprint_free(m_context);
12
12
}
13
13
 
14
 
void FingerprintCalculator::start(int sampleRate, int numChannels)
 
14
bool FingerprintCalculator::start(int sampleRate, int numChannels)
15
15
{
16
 
    chromaprint_start(m_context, sampleRate, numChannels);
 
16
    return chromaprint_start(m_context, sampleRate, numChannels);
17
17
}
18
18
 
19
19
void FingerprintCalculator::feed(qint16 *data, int size)