git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17532 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2008-05-15 23:00:33 +00:00
parent a3524029bf
commit 9098112869

View file

@ -721,9 +721,11 @@ void rec_command(enum recording_command cmd)
case RECORDING_CMD_STOP_SHUTDOWN:
pm_activate_clipcount(false);
audio_stop_recording();
#if CONFIG_CODEC == SWCODEC
audio_close_recording();
#endif
sys_poweroff();
break;
break;
case RECORDING_CMD_STOP:
pm_activate_clipcount(false);
audio_stop_recording();