aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@strangebook.local>2011-10-12 12:39:14 +0100
committerMick Grierson <mickgrierson@strangebook.local>2011-10-12 12:39:14 +0100
commit6871729fa4eaab98406ce406c6e136042f82f339 (patch)
treee347eb367d8f7c5b350f5f7f053a1491445a5849 /maximilian.cpp
parenta9b7b73bc1bbe47affa034a7dec09b7acbd0e267 (diff)
wrote some garbage at the end of the single channel sample load data so there's something to interpolate with.
Diffstat (limited to 'maximilian.cpp')
-rw-r--r--maximilian.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/maximilian.cpp b/maximilian.cpp
index a9cdcfc..0c016b1 100644
--- a/maximilian.cpp
+++ b/maximilian.cpp
@@ -400,7 +400,7 @@ bool maxiSample::read()
if (myChannels>1) {
int position=0;
int channel=readChannel*2;
- for (int i=channel;i<myDataSize;i+=(myChannels*2)) {
+ for (int i=channel;i<myDataSize+6;i+=(myChannels*2)) {
myData[position]=myData[i];
myData[position+1]=myData[i+1];
position+=2;