forked from len0rd/rockbox
Fix two warnings for h1x0 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10160 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8558e228a
commit
12cb51c3ca
1 changed files with 4 additions and 0 deletions
|
|
@ -361,9 +361,11 @@ bool recording_screen(void)
|
|||
peak_meter_playback(false);
|
||||
|
||||
#ifdef HAVE_SPDIF_IN
|
||||
#ifndef SIMULATOR
|
||||
if (global_settings.rec_source == SOURCE_SPDIF)
|
||||
cpu_boost(true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else
|
||||
/* Yes, we use the D/A for monitoring */
|
||||
|
|
@ -1014,9 +1016,11 @@ if (global_settings.rec_source == SOURCE_SPDIF)
|
|||
audio_close_recording();
|
||||
|
||||
#ifdef HAVE_SPDIF_IN
|
||||
#ifndef SIMULATOR
|
||||
if (global_settings.rec_source == SOURCE_SPDIF)
|
||||
cpu_boost(false);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else
|
||||
audio_init_playback();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue