-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index e25a1ab..10a947e 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -468,25 +468,25 @@ void VMemo::record(void) for (int i = 0; i < result; i++) { //since Z is mono do normally monoBuffer[i] = sound[i]; } length+=write(wav, monoBuffer, result); if(length<0) recording=false; } else { //ipaq /stereo inputs for (int i = 0; i < result; i+=2) { -/ monoBuffer[j] = sound[i]; + monoBuffer[j] = sound[i]; // monoBuffer[j] = (sound[i]+sound[i+1])/2; j++; } length+=write(wav, monoBuffer, result); if(length<0) recording=false; // length+=write(wav, monoBuffer, result/2); } qApp->processEvents(); // printf("%d\r",length); |