-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 006e0ba..aa23ba7 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -386,18 +386,18 @@ void VMemo::record(void) | |||
386 | qWarning("VMemo::record() -> Closing dsp"); | 386 | qWarning("VMemo::record() -> Closing dsp"); |
387 | 387 | ||
388 | value = length+36; | 388 | value = length+36; |
389 | lseek(wav, 4, SEEK_SET); | 389 | lseek(wav, 4, SEEK_SET); |
390 | write(wav, &value, 4); | 390 | write(wav, &value, 4); |
391 | lseek(wav, 40, SEEK_SET); | 391 | lseek(wav, 40, SEEK_SET); |
392 | write(wav, &length, 4); | 392 | write(wav, &length, 4); |
393 | track.close(); | 393 | track.close(); |
394 | 394 | ||
395 | if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1) | 395 | if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1) |
396 | perror("ioctl(\"SNDCTL_DSP_RESET\")"); | 396 | perror("ioctl(\"SNDCTL_DSP_RESET\")"); |
397 | ::close(dsp); | 397 | ::close(dsp); |
398 | 398 | ||
399 | qWarning("VMemo::record() -> playing done recording sound"); | 399 | qWarning("VMemo::record() -> playing done recording sound"); |
400 | QSound::play(Resource::findSound("vmemoe")); | 400 | QSound::play(Resource::findSound("vmemoe")); |
401 | qWarning("VMemo::record() -> terminating"); | 401 | qWarning("VMemo::record() -> terminating"); |
402 | QMessageBox::information(0, "VMemo", "Recording Done", 1); | 402 | //QMessageBox::information(0, "VMemo", "Recording Done", 1); |
403 | } | 403 | } |