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:
parent
a6d4e531a3
commit
db1e12bac0
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue