aboutsummaryrefslogtreecommitdiffstats
path: root/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'player.cpp')
-rw-r--r--player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.cpp b/player.cpp
index cc7aafd..51ae4fb 100644
--- a/player.cpp
+++ b/player.cpp
@@ -25,7 +25,7 @@
void setup();//use this to do any initialisation if you want.
-void play(double *channels);//run dac! Very very often. Too often in fact. er...
+void play(double *output);//run dac! Very very often. Too often in fact. er...
@@ -58,7 +58,7 @@ int routing (void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,
for ( i=0; i<nBufferFrames; i++ ) {
play(lastValues);
for ( j=0; j<maxiSettings::channels; j++ ) {
- *buffer++=lastValues[0];
+ *buffer++=lastValues[j];
}
}
return 0;