-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 3 |
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 // } //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<// |