aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard <q@1bpm.net>2021-03-16 16:08:10 +0000
committerRichard <q@1bpm.net>2021-03-16 16:08:10 +0000
commit5c488b682dbf0072e2c7126f12948a69e608fd0e (patch)
treea57f782ef7dc83386ff16be80390a176dd8e6a7c /src
parentf76c8bddc1d9a7309db75ea60ca71f98b40685ab (diff)
downloadcsound-xtract-5c488b682dbf0072e2c7126f12948a69e608fd0e.tar.gz
csound-xtract-5c488b682dbf0072e2c7126f12948a69e608fd0e.tar.bz2
csound-xtract-5c488b682dbf0072e2c7126f12948a69e608fd0e.zip
changed readme
Diffstat (limited to 'src')
-rw-r--r--src/opcodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opcodes.cpp b/src/opcodes.cpp
index 8878722..5979712 100644
--- a/src/opcodes.cpp
+++ b/src/opcodes.cpp
@@ -559,8 +559,8 @@ struct xtcorpus : csnd::Plugin<1, 2> {
if (!(corpusProfile = getHandle<AnalysisProfile>(csound, inargs[0]))) {
return csound->init_error("profile handle invalid");
}
-
- if ((corpus->input = csound->get_csound()->FTnp2Find(csound, &inargs[1])) == NULL) {
+ CSOUND* csbase = (CSOUND *) csound->get_csound();
+ if ((corpus->input = csbase->FTnp2Find(csbase, &inargs[1])) == NULL) {
return csound->init_error("cannot get function table specified");
}