summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-23 14:43:54 (UTC)
committer llornkcor <llornkcor>2002-06-23 14:43:54 (UTC)
commit6382b7352205a71557bd87b4f43d7f19f7f3330e (patch) (side-by-side diff)
tree16097c620467a774336a717dba4b4f316e6208c4
parent8672a04720e7421e7f41bbf49364bcc1df910bb2 (diff)
downloadopie-6382b7352205a71557bd87b4f43d7f19f7f3330e.zip
opie-6382b7352205a71557bd87b4f43d7f19f7f3330e.tar.gz
opie-6382b7352205a71557bd87b4f43d7f19f7f3330e.tar.bz2
took out unreachable code
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 4278f46..cfa07b4 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -477,21 +477,12 @@ void VMemo::record(void)
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]+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);
// fflush(stdout);
@@ -512,19 +503,11 @@ void VMemo::record(void)
length+=write(wav, monoBuffer, result);
- // } else { //ipaq /stereo inputs
-
// for (int i = 0; i < result; i+=2) {
// monoBuffer[j] = (sound[i]+sound[i+1])/2;
// j++;
// }
-
// length+=write(wav, monoBuffer, result/2);
-
- // if(length<0)
- // recording=false;
-
- // }
length += result;
// printf("%d\r",length);
// fflush(stdout);