comparison data/model/test/MockWaveModel.h @ 1725:78fe29adfd16

Re-implement extendEndFrame behaviour, used by Tony application
author Chris Cannam
date Wed, 19 Jun 2019 13:32:52 +0100
parents 82d03c9661f9
children
comparison
equal deleted inserted replaced
1724:157c62ff0056 1725:78fe29adfd16
46 46
47 bool canPlay() const override { return true; } 47 bool canPlay() const override { return true; }
48 QString getDefaultPlayClipId() const override { return ""; } 48 QString getDefaultPlayClipId() const override { return ""; }
49 49
50 sv_frame_t getStartFrame() const override { return 0; } 50 sv_frame_t getStartFrame() const override { return 0; }
51 sv_frame_t getEndFrame() const override { return m_data[0].size(); } 51 sv_frame_t getTrueEndFrame() const override { return m_data[0].size(); }
52 sv_samplerate_t getSampleRate() const override { return 44100; } 52 sv_samplerate_t getSampleRate() const override { return 44100; }
53 bool isOK() const override { return true; } 53 bool isOK() const override { return true; }
54 int getCompletion() const override { return 100; } 54 int getCompletion() const override { return 100; }
55 55
56 QString getTypeName() const override { return tr("Mock Wave"); } 56 QString getTypeName() const override { return tr("Mock Wave"); }