summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-20 20:13:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-20 20:13:52 +0200
commitc9200c25e02b2ab5c1fc4461a4621d109e798350 (patch)
tree6fca342d86d9e0839ae02bc66b3476f59a29eec7 /src/instrument.cc
parent180d70312335d7274eff605e3ec4c1af5879daa4 (diff)
New 'instrument group' feature added.
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 22b6a90..7232431 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -109,6 +109,16 @@ std::string Instrument::description()
return _description;
}
+std::string Instrument::group()
+{
+ return _group;
+}
+
+void Instrument::setGroup(std::string g)
+{
+ _group = g;
+}
+
#ifdef TEST_INSTRUMENT
//deps: channel.cc sample.cc audiofile.cc
//cflags: $(SNDFILE_CFLAGS)