summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-12-15 23:51:13 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-12-15 23:51:13 +0000
commitdb1e12bac01ad8905bd4204993954d3b709eaacd (patch)
treeba8fe6d832b6988e12200a01226c9c2ec89ee630
parenta6d4e531a360bdd1f13592936ca7cf7a7f4b2633 (diff)
downloadrockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.tar.gz
rockbox-db1e12bac01ad8905bd4204993954d3b709eaacd.zip
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
-rw-r--r--apps/recorder/recording.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 7824d0ae67..2f41d8f1f2 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1896,6 +1896,13 @@ bool recording_screen(bool no_source)
1896 FOR_NB_SCREENS(i) 1896 FOR_NB_SCREENS(i)
1897 screens[i].update(); 1897 screens[i].update();
1898 1898
1899#if CONFIG_CODEC == SWCODEC
1900 /* stop recording - some players like H10 freeze otherwise
1901 TO DO: find out why it freezes and fix properly */
1902 rec_command(RECORDING_CMD_STOP);
1903 audio_close_recording();
1904#endif
1905
1899 audio_error_clear(); 1906 audio_error_clear();
1900 1907
1901 while(1) 1908 while(1)