diff options
Diffstat (limited to 'drumgizmo/audioinputenginedl.cc')
-rw-r--r-- | drumgizmo/audioinputenginedl.cc | 2 |
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); |