1
0
Fork 0
forked from len0rd/rockbox

fix recording.c file split time in seconds not minutes

FS#13173

Change-Id: Icae45bf21c3470e04e7d99355a09d016d204d574
This commit is contained in:
William Wilgus 2019-08-04 13:38:38 -05:00
parent d1f349bf77
commit 448b97a888

View file

@ -975,7 +975,7 @@ bool recording_screen(bool no_source)
int audio_stat = 0; /* status of the audio system */ int audio_stat = 0; /* status of the audio system */
int last_audio_stat = -1; /* previous status so we can act on changes */ int last_audio_stat = -1; /* previous status so we can act on changes */
struct viewport vp_list[NB_SCREENS], vp_top[NB_SCREENS]; /* the viewports */ struct viewport vp_list[NB_SCREENS], vp_top[NB_SCREENS]; /* the viewports */
const unsigned long split_seconds = (unsigned) global_settings.rec_timesplit; const unsigned long split_seconds = (unsigned) global_settings.rec_timesplit * 60;
const unsigned long split_bytes = rec_sizesplit_bytes(); const unsigned long split_bytes = rec_sizesplit_bytes();
#if CONFIG_CODEC == SWCODEC #if CONFIG_CODEC == SWCODEC