Logo Search packages:      
Sourcecode: acoustid-fingerprinter version File versions  Download package

fingerprintcalculator.h

#ifndef FPSUBMIT_FINGERPRINTCALCULATOR_H_
#define FPSUBMIT_FINGERPRINTCALCULATOR_H_

#include <QString>
#include <chromaprint.h>

00007 class FingerprintCalculator {

public:
    FingerprintCalculator();
    ~FingerprintCalculator();

    bool start(int sampleRate, int numChannels);
    void feed(qint16 *data, int size);
    QString finish();

private:
    ChromaprintContext *m_context;    
};

#endif

Generated by  Doxygen 1.6.0   Back to index