comparison base/PlayParameters.h @ 57:7439f1696314

* Add editing for auralisation plugin parameters and programs * Rename and reorganise the sample plugin sample set
author Chris Cannam
date Thu, 23 Mar 2006 15:49:41 +0000
parents d397ea0a79f5
children f277a171749d
comparison
equal deleted inserted replaced
56:2157fa46c1e7 57:7439f1696314
27 27
28 virtual bool isPlayMuted() const { return m_playMuted; } 28 virtual bool isPlayMuted() const { return m_playMuted; }
29 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0 29 virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0
30 virtual float getPlayGain() const { return m_playGain; } 30 virtual float getPlayGain() const { return m_playGain; }
31 31
32 virtual QString getPlayPluginId() const { return m_playPluginId; }
33 virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; }
34
32 public slots: 35 public slots:
33 virtual void setPlayMuted(bool muted); 36 virtual void setPlayMuted(bool muted);
34 virtual void setPlayAudible(bool nonMuted); 37 virtual void setPlayAudible(bool nonMuted);
35 virtual void setPlayPan(float pan); 38 virtual void setPlayPan(float pan);
36 virtual void setPlayGain(float gain); 39 virtual void setPlayGain(float gain);
40 virtual void setPlayPluginId(QString id);
41 virtual void setPlayPluginConfiguration(QString configuration);
37 42
38 signals: 43 signals:
39 void playParametersChanged(); 44 void playParametersChanged();
40 void playMutedChanged(bool); 45 void playMutedChanged(bool);
41 void playAudibleChanged(bool); 46 void playAudibleChanged(bool);
42 void playPanChanged(float); 47 void playPanChanged(float);
43 void playGainChanged(float); 48 void playGainChanged(float);
49 void playPluginIdChanged(QString);
50 void playPluginConfigurationChanged(QString);
44 51
45 protected: 52 protected:
46 bool m_playMuted; 53 bool m_playMuted;
47 float m_playPan; 54 float m_playPan;
48 float m_playGain; 55 float m_playGain;
56 QString m_playPluginId;
57 QString m_playPluginConfiguration;
49 }; 58 };
50 59
51 #endif 60 #endif
52 61
53 62