diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-12-15 23:51:13 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-12-15 23:51:13 +0000 |
| commit | db1e12bac01ad8905bd4204993954d3b709eaacd (patch) | |
| tree | ba8fe6d832b6988e12200a01226c9c2ec89ee630 /apps | |
| parent | a6d4e531a360bdd1f13592936ca7cf7a7f4b2633 (diff) | |
| download | rockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.zip rockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.tar.gz rockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.tar.bz2 rockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.tar.xz | |
Quick fix to prevent freezing of H10 (possibly others too) when left at the disk full message. Needs more investigation to find the cause of the freeze.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15938 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/recorder/recording.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 7824d0a..2f41d8f 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -1896,6 +1896,13 @@ bool recording_screen(bool no_source) FOR_NB_SCREENS(i) screens[i].update(); +#if CONFIG_CODEC == SWCODEC + /* stop recording - some players like H10 freeze otherwise + TO DO: find out why it freezes and fix properly */ + rec_command(RECORDING_CMD_STOP); + audio_close_recording(); +#endif + audio_error_clear(); while(1) |