~mr-unwell2006/mixxx/mixxx

« back to all changes in this revision

Viewing changes to mixxx/src/trackinfoobject.h

  • Committer: Raffitea
  • Date: 2011-12-28 12:17:39 UTC
  • Revision ID: raffitea-20111228121739-fb8c8qta7j6w48bn
Added code infrastrcture for bpm lock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
    const Segmentation<QString>* getChordData();
254
254
    void setChordData(Segmentation<QString> cd);
255
255
 
 
256
    /*
 
257
     * A track with a locked BPM will not be re-analyzed
 
258
     * by the beats or bpm analyzer.
 
259
     */
 
260
    void setBpmLock(bool hasLock);
 
261
    bool hasBpmLock() const;
 
262
    /** The Vamp plugin having computed the BPM value **/
 
263
    void setBpmPluginKey(QString& pluginKey);
 
264
    QString getBpmPluginKey() const;
 
265
 
256
266
  public slots:
257
267
    void slotCueUpdated();
258
268
 
367
377
 
368
378
    QString m_key;
369
379
 
 
380
    /** BPM lock **/
 
381
    bool m_bBpmLock;
 
382
    /** The Vamp plugin having computed the BPM value **/
 
383
    QString m_bpmPluginKey;
 
384
 
370
385
    // The list of cue points for the track
371
386
    QList<Cue*> m_cuePoints;
372
387