summaryrefslogtreecommitdiff
path: root/drumgizmo/audioinputenginedl.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-12 16:30:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-12 16:30:07 +0100
commite436e02f164977bb41f2740b5ad59fc89a1a1490 (patch)
tree9d6af74cea03c0e07d06e93e716802d3741c7cb3 /drumgizmo/audioinputenginedl.cc
parentd63ef52cfd1ca1867542471c3fce4ff5e47b1916 (diff)
Changed instrument list to containing pointers.
Diffstat (limited to 'drumgizmo/audioinputenginedl.cc')
-rw-r--r--drumgizmo/audioinputenginedl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/audioinputenginedl.cc b/drumgizmo/audioinputenginedl.cc
index 3b2a483..799e56f 100644
--- a/drumgizmo/audioinputenginedl.cc
+++ b/drumgizmo/audioinputenginedl.cc
@@ -118,7 +118,7 @@ bool AudioInputEngineDL::init(Instruments &instruments)
{
char **n = (char**)malloc(sizeof(char*)*instruments.size());
for(size_t i = 0; i < instruments.size(); i++) {
- n[i] = strdup(instruments[i].name().c_str());
+ n[i] = strdup(instruments[i]->name().c_str());
}
bool ret = i_init(ptr, instruments.size(), n);