comparison base/PlayParameters.h @ 30:a6ef94ecbe74

* As previous commit
author Chris Cannam
date Fri, 17 Feb 2006 18:11:08 +0000
parents 8460b3bf8f04
children 39ae3dee27b9
comparison
equal deleted inserted replaced
29:8460b3bf8f04 30:a6ef94ecbe74
21 21
22 virtual bool isPlayMuted() const { return m_playMuted; } 22 virtual bool isPlayMuted() const { return m_playMuted; }
23 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0 23 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0
24 virtual float getPlayGain() const { return m_playGain; } 24 virtual float getPlayGain() const { return m_playGain; }
25 25
26 signals:
27 void playParametersChanged();
28 void playMutedChanged(bool);
29 void playPanChanged(float);
30 void playGainChanged(float);
31
32 public slots: 26 public slots:
33 virtual void setPlayMuted(bool muted); 27 virtual void setPlayMuted(bool muted);
34 virtual void setPlayAudible(bool nonMuted); 28 virtual void setPlayAudible(bool nonMuted);
35 virtual void setPlayPan(float pan); 29 virtual void setPlayPan(float pan);
36 virtual void setPlayGain(float gain); 30 virtual void setPlayGain(float gain);
31
32 signals:
33 void playParametersChanged();
34 void playMutedChanged(bool);
35 void playAudibleChanged(bool);
36 void playPanChanged(float);
37 void playGainChanged(float);
37 38
38 protected: 39 protected:
39 bool m_playMuted; 40 bool m_playMuted;
40 float m_playPan; 41 float m_playPan;
41 float m_playGain; 42 float m_playGain;