comparison base/PlayParameters.h @ 866:3a3541b357fe tonioni

sampleId -> clipId
author Chris Cannam
date Tue, 07 Jan 2014 15:52:34 +0000
parents 9196cff56abe
children c01cbe41aeb5
comparison
equal deleted inserted replaced
865:9196cff56abe 866:3a3541b357fe
30 virtual bool isPlayMuted() const { return m_playMuted; } 30 virtual bool isPlayMuted() const { return m_playMuted; }
31 virtual bool isPlayAudible() const { return !m_playMuted; } 31 virtual bool isPlayAudible() const { return !m_playMuted; }
32 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0 32 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0
33 virtual float getPlayGain() const { return m_playGain; } 33 virtual float getPlayGain() const { return m_playGain; }
34 34
35 virtual QString getPlaySampleId() const { return m_playSampleId; } 35 virtual QString getPlayClipId() const { return m_playClipId; }
36 36
37 virtual void copyFrom(const PlayParameters *); 37 virtual void copyFrom(const PlayParameters *);
38 38
39 virtual void toXml(QTextStream &stream, 39 virtual void toXml(QTextStream &stream,
40 QString indent = "", 40 QString indent = "",
43 public slots: 43 public slots:
44 virtual void setPlayMuted(bool muted); 44 virtual void setPlayMuted(bool muted);
45 virtual void setPlayAudible(bool nonMuted); 45 virtual void setPlayAudible(bool nonMuted);
46 virtual void setPlayPan(float pan); 46 virtual void setPlayPan(float pan);
47 virtual void setPlayGain(float gain); 47 virtual void setPlayGain(float gain);
48 virtual void setPlaySampleId(QString id); 48 virtual void setPlayClipId(QString id);
49 49
50 signals: 50 signals:
51 void playParametersChanged(); 51 void playParametersChanged();
52 void playMutedChanged(bool); 52 void playMutedChanged(bool);
53 void playAudibleChanged(bool); 53 void playAudibleChanged(bool);
54 void playPanChanged(float); 54 void playPanChanged(float);
55 void playGainChanged(float); 55 void playGainChanged(float);
56 void playSampleIdChanged(QString); 56 void playClipIdChanged(QString);
57 57
58 protected: 58 protected:
59 bool m_playMuted; 59 bool m_playMuted;
60 float m_playPan; 60 float m_playPan;
61 float m_playGain; 61 float m_playGain;
62 QString m_playSampleId; 62 QString m_playClipId;
63 63
64 private: 64 private:
65 PlayParameters(const PlayParameters &); 65 PlayParameters(const PlayParameters &);
66 PlayParameters &operator=(const PlayParameters &); 66 PlayParameters &operator=(const PlayParameters &);
67 }; 67 };