~mixxxdevelopers/mixxx/engine-control-refactor

« back to all changes in this revision

Viewing changes to mixxx/src/engine/enginebufferscalelinear.h

  • Committer: RJ Ryan
  • Date: 2013-06-04 00:41:29 UTC
  • mfrom: (2890.22.101 mixxx)
  • Revision ID: rryan@mixxx.org-20130604004129-8jjxkicsb3givu4a
MergingĀ fromĀ lp:mixxx.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
public:
35
35
    EngineBufferScaleLinear(ReadAheadManager *pReadAheadManager);
36
36
    ~EngineBufferScaleLinear();
37
 
    CSAMPLE *scale(double playpos, unsigned long buf_size,
38
 
                   CSAMPLE* pBase, unsigned long iBaseLength);
 
37
    CSAMPLE *getScaled(unsigned long buf_size);
39
38
 
40
39
    void setBaseRate(double dBaseRate);
41
40
    double setTempo(double dTempo);
43
42
 
44
43
private:
45
44
    CSAMPLE *do_scale(CSAMPLE* buf, unsigned long buf_size,
46
 
                      CSAMPLE* pBase, unsigned long iBaseLength,
47
45
                      int *samples_read);
48
46
 
49
47
    /** Holds playback direction */