summaryrefslogtreecommitdiff
path: root/drumgizmo/audioinputenginedl.cc
diff options
context:
space:
mode:
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);