summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-07-29 12:18:47 (UTC)
committer llornkcor <llornkcor>2002-07-29 12:18:47 (UTC)
commitb4827a8b268af9d1485455cdf727f564047f396e (patch) (side-by-side diff)
treee4cfe0063c4130337d46bce247e0430bf37ce70d
parentb79ef334c6d13beb4fe7fff1e6985c081081a2f6 (diff)
downloadopie-b4827a8b268af9d1485455cdf727f564047f396e.zip
opie-b4827a8b268af9d1485455cdf727f564047f396e.tar.gz
opie-b4827a8b268af9d1485455cdf727f564047f396e.tar.bz2
fix bug number 140
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 035965e..0c792c6 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -482,6 +482,7 @@ int VMemo::openWAV(const char *filename) {
}
wav=track.handle();
+ useADPCM = vmCfg.readBoolEntry("use_ADPCM", 0);
WaveHeader wh;
@@ -531,6 +532,7 @@ bool VMemo::record() {
signed short sound[1024], monoBuffer[1024];
char abuf[bufsize/2];
short sbuf[bufsize];
+ useADPCM = vmCfg.readBoolEntry("use_ADPCM", 0);
while(recording) {
@@ -573,7 +575,6 @@ bool VMemo::record() {
}
// qDebug("file has length of %d lasting %d seconds",
// length, (( length / speed) / channels) / 2 );
- // medialplayer states wrong length in secs
// }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<//