diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-02-18 08:46:12 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-02-18 08:46:12 +0000 |
commit | c652218d14ec017984c5c3fea973112a6f93956d (patch) | |
tree | 95da404e59a4babaeff06cad4ecdee3c2b548c38 /firmware/export/audio.h | |
parent | 9a6f419775270340ee154c55dbe52e99682fb77a (diff) |
Fix remaining CONFIG_TUNER checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/audio.h')
-rw-r--r-- | firmware/export/audio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 716b1ad5d3..ebcb316cd9 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h @@ -136,14 +136,14 @@ enum audio_sources #ifdef HAVE_SPDIF_IN AUDIO_SRC_SPDIF, /* monitor spdif */ #endif -#if defined(HAVE_FMRADIO_IN) || defined(CONFIG_TUNER) +#if defined(HAVE_FMRADIO_IN) || CONFIG_TUNER AUDIO_SRC_FMRADIO, /* monitor fm radio */ #endif /* define new audio sources above this line */ AUDIO_SOURCE_LIST_END, - /* AUDIO_SRC_FMRADIO must be declared #ifdef CONFIG_TUNER but is not in + /* AUDIO_SRC_FMRADIO must be declared #if CONFIG_TUNER but is not in the list of recordable sources. HAVE_FMRADIO_IN implies CONFIG_TUNER. */ -#if defined(HAVE_FMRADIO_IN) || !defined(CONFIG_TUNER) +#if defined(HAVE_FMRADIO_IN) || (CONFIG_TUNER == 0) AUDIO_NUM_SOURCES = AUDIO_SOURCE_LIST_END, #else AUDIO_NUM_SOURCES = AUDIO_SOURCE_LIST_END-1, @@ -155,7 +155,7 @@ enum audio_sources /* selects an audio source for recording or playback */ #define SRCF_PLAYBACK 0x0000 /* default */ #define SRCF_RECORDING 0x1000 -#ifdef CONFIG_TUNER +#if CONFIG_TUNER /* for AUDIO_SRC_FMRADIO */ #define SRCF_FMRADIO_PLAYING 0x0000 /* default */ #define SRCF_FMRADIO_PAUSED 0x2000 |