Fix condition for compiling audiohw_set_monitor (should fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d7cb3b13fb
commit
38e0918eb5
2 changed files with 1 additions and 7 deletions
|
@ -305,7 +305,6 @@ void audiohw_disable_recording(void)
|
|||
tlv320_write_reg(REG_PC, value_pc);
|
||||
}
|
||||
|
||||
#ifdef HAVE_FMRADIO_IN
|
||||
void audiohw_set_monitor(bool enable)
|
||||
{
|
||||
unsigned value_aap, value_pc;
|
||||
|
@ -325,6 +324,5 @@ void audiohw_set_monitor(bool enable)
|
|||
tlv320_write_reg(REG_AAP, value_aap);
|
||||
tlv320_write_reg(REG_PC, value_pc);
|
||||
}
|
||||
#endif /* HAVE_FMRADIO_IN */
|
||||
#endif /* HAVE_RECORDING */
|
||||
|
||||
|
|
|
@ -529,17 +529,13 @@ void audiohw_disable_recording(void);
|
|||
*/
|
||||
void audiohw_set_recvol(int left, int right, int type);
|
||||
|
||||
#endif /*HAVE_RECORDING*/
|
||||
|
||||
#if defined(HAVE_RECORDING) || defined(HAVE_FMRADIO_IN)
|
||||
|
||||
/**
|
||||
* Enable or disable recording monitor.
|
||||
* @param enable ture or false.
|
||||
*/
|
||||
void audiohw_set_monitor(bool enable);
|
||||
|
||||
#endif /* HAVE_RECORDING || HAVE_FMRADIO_IN */
|
||||
#endif /* HAVE_RECORDING */
|
||||
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
|
||||
|
|
Loading…
Reference in a new issue