comparison data/model/NoteModel.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
127 127
128 QString getTypeName() const { return tr("Note"); } 128 QString getTypeName() const { return tr("Note"); }
129 129
130 virtual bool canPlay() const { return true; } 130 virtual bool canPlay() const { return true; }
131 131
132 virtual QString getDefaultPlayPluginId() const 132 virtual QString getDefaultPlaySampleId() const
133 { 133 {
134 return "dssi:_builtin:sample_player"; 134 return "piano";
135 }
136
137 virtual QString getDefaultPlayPluginConfiguration() const
138 {
139 return "<plugin program=\"piano\"/>";
140 } 135 }
141 136
142 virtual void toXml(QTextStream &out, 137 virtual void toXml(QTextStream &out,
143 QString indent = "", 138 QString indent = "",
144 QString extraAttributes = "") const 139 QString extraAttributes = "") const