comparison base/PlayParameters.h @ 874:862fe7b20df7 tony_integration

Merge from tonioni branch
author Chris Cannam
date Tue, 28 Jan 2014 15:01:54 +0000
parents 3a3541b357fe
children c01cbe41aeb5
comparison
equal deleted inserted replaced
862:786ee8d1f30e 874:862fe7b20df7
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 getPlayPluginId() const { return m_playPluginId; } 35 virtual QString getPlayClipId() const { return m_playClipId; }
36 virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; }
37 36
38 virtual void copyFrom(const PlayParameters *); 37 virtual void copyFrom(const PlayParameters *);
39 38
40 virtual void toXml(QTextStream &stream, 39 virtual void toXml(QTextStream &stream,
41 QString indent = "", 40 QString indent = "",
44 public slots: 43 public slots:
45 virtual void setPlayMuted(bool muted); 44 virtual void setPlayMuted(bool muted);
46 virtual void setPlayAudible(bool nonMuted); 45 virtual void setPlayAudible(bool nonMuted);
47 virtual void setPlayPan(float pan); 46 virtual void setPlayPan(float pan);
48 virtual void setPlayGain(float gain); 47 virtual void setPlayGain(float gain);
49 virtual void setPlayPluginId(QString id); 48 virtual void setPlayClipId(QString id);
50 virtual void setPlayPluginConfiguration(QString configuration);
51 49
52 signals: 50 signals:
53 void playParametersChanged(); 51 void playParametersChanged();
54 void playMutedChanged(bool); 52 void playMutedChanged(bool);
55 void playAudibleChanged(bool); 53 void playAudibleChanged(bool);
56 void playPanChanged(float); 54 void playPanChanged(float);
57 void playGainChanged(float); 55 void playGainChanged(float);
58 void playPluginIdChanged(QString); 56 void playClipIdChanged(QString);
59 void playPluginConfigurationChanged(QString);
60 57
61 protected: 58 protected:
62 bool m_playMuted; 59 bool m_playMuted;
63 float m_playPan; 60 float m_playPan;
64 float m_playGain; 61 float m_playGain;
65 QString m_playPluginId; 62 QString m_playClipId;
66 QString m_playPluginConfiguration;
67 63
68 private: 64 private:
69 PlayParameters(const PlayParameters &); 65 PlayParameters(const PlayParameters &);
70 PlayParameters &operator=(const PlayParameters &); 66 PlayParameters &operator=(const PlayParameters &);
71 }; 67 };