Mercurial > hg > svcore
diff base/PlayParameters.h @ 863:1f98e28f70c6 tonioni
Toward using a sample mixer (with arbitrary frequency target) instead of dssi player plugin
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2014 10:57:28 +0000 |
parents | 5858cc462d0a |
children | 9196cff56abe |
line wrap: on
line diff
--- a/base/PlayParameters.h Wed Dec 04 19:30:02 2013 +0000 +++ b/base/PlayParameters.h Tue Jan 07 10:57:28 2014 +0000 @@ -32,8 +32,7 @@ virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0 virtual float getPlayGain() const { return m_playGain; } - virtual QString getPlayPluginId() const { return m_playPluginId; } - virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; } + virtual QString getPlaySampleId() const { return m_playSampleId; } virtual void copyFrom(const PlayParameters *); @@ -46,8 +45,10 @@ virtual void setPlayAudible(bool nonMuted); virtual void setPlayPan(float pan); virtual void setPlayGain(float gain); - virtual void setPlayPluginId(QString id); - virtual void setPlayPluginConfiguration(QString configuration); + virtual void setPlaySampleId(QString id); + + // Obsolete but retained for file load compatibility + virtual void setPlayPluginConfiguration(QString config); signals: void playParametersChanged(); @@ -55,15 +56,13 @@ void playAudibleChanged(bool); void playPanChanged(float); void playGainChanged(float); - void playPluginIdChanged(QString); - void playPluginConfigurationChanged(QString); + void playSampleIdChanged(QString); protected: bool m_playMuted; float m_playPan; float m_playGain; - QString m_playPluginId; - QString m_playPluginConfiguration; + QString m_playSampleId; private: PlayParameters(const PlayParameters &);