1
0
Fork 0
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:
Peter D'Hoye 2006-06-30 21:48:01 +00:00
parent e8558e228a
commit 12cb51c3ca

View file

@ -361,9 +361,11 @@ bool recording_screen(void)
peak_meter_playback(false); peak_meter_playback(false);
#ifdef HAVE_SPDIF_IN #ifdef HAVE_SPDIF_IN
#ifndef SIMULATOR
if (global_settings.rec_source == SOURCE_SPDIF) if (global_settings.rec_source == SOURCE_SPDIF)
cpu_boost(true); cpu_boost(true);
#endif #endif
#endif
#else #else
/* Yes, we use the D/A for monitoring */ /* Yes, we use the D/A for monitoring */
@ -1014,9 +1016,11 @@ if (global_settings.rec_source == SOURCE_SPDIF)
audio_close_recording(); audio_close_recording();
#ifdef HAVE_SPDIF_IN #ifdef HAVE_SPDIF_IN
#ifndef SIMULATOR
if (global_settings.rec_source == SOURCE_SPDIF) if (global_settings.rec_source == SOURCE_SPDIF)
cpu_boost(false); cpu_boost(false);
#endif #endif
#endif
#else #else
audio_init_playback(); audio_init_playback();