Mercurial > hg > svcore
comparison data/model/FlexiNoteModel.h @ 864:6d07bcc844a1 tonioni
sample id instead of plugin data
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2014 13:09:53 +0000 |
parents | d6bd5751b8f6 |
children | 3a3541b357fe |
comparison
equal
deleted
inserted
replaced
863:1f98e28f70c6 | 864:6d07bcc844a1 |
---|---|
133 | 133 |
134 QString getTypeName() const { return tr("FlexiNote"); } | 134 QString getTypeName() const { return tr("FlexiNote"); } |
135 | 135 |
136 virtual bool canPlay() const { return true; } | 136 virtual bool canPlay() const { return true; } |
137 | 137 |
138 virtual QString getDefaultPlayPluginId() const | 138 virtual QString getDefaultPlaySampleId() const |
139 { | 139 { |
140 return "dssi:_builtin:sample_player"; | 140 return "click"; |
141 } | |
142 | |
143 virtual QString getDefaultPlayPluginConfiguration() const | |
144 { | |
145 return "<plugin program=\"click\"/>"; | |
146 } | 141 } |
147 | 142 |
148 virtual void toXml(QTextStream &out, | 143 virtual void toXml(QTextStream &out, |
149 QString indent = "", | 144 QString indent = "", |
150 QString extraAttributes = "") const | 145 QString extraAttributes = "") const |