summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-23 13:30:55 (UTC)
committer llornkcor <llornkcor>2002-06-23 13:30:55 (UTC)
commitf9c5bf03ae5a89ef5cda69e37cc2732f4e4f2808 (patch) (side-by-side diff)
tree2775d08db31c6310212fc15d92e5c7523d8eac34
parent5b9588d61b5d1b5b6dc50abf821d3ac543991680 (diff)
downloadopie-f9c5bf03ae5a89ef5cda69e37cc2732f4e4f2808.zip
opie-f9c5bf03ae5a89ef5cda69e37cc2732f4e4f2808.tar.gz
opie-f9c5bf03ae5a89ef5cda69e37cc2732f4e4f2808.tar.bz2
*** empty log message ***
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp2
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);