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

« back to all changes in this revision

Viewing changes to fingerprintcalculator.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams
  • Date: 2011-05-12 19:54:52 UTC
  • Revision ID: james.westby@ubuntu.com-20110512195452-bj6g545s1bx7edvc
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef FPSUBMIT_FINGERPRINTCALCULATOR_H_
 
2
#define FPSUBMIT_FINGERPRINTCALCULATOR_H_
 
3
 
 
4
#include <QString>
 
5
#include <chromaprint.h>
 
6
 
 
7
class FingerprintCalculator {
 
8
 
 
9
public:
 
10
    FingerprintCalculator();
 
11
    ~FingerprintCalculator();
 
12
 
 
13
    void start(int sampleRate, int numChannels);
 
14
    void feed(qint16 *data, int size);
 
15
    QString finish();
 
16
 
 
17
private:
 
18
    ChromaprintContext *m_context;    
 
19
};
 
20
 
 
21
#endif