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
This commit is contained in:
Peter D'Hoye 2007-12-15 23:51:13 +00:00
parent a6d4e531a3
commit db1e12bac0

View file

@ -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)