LegacyXperia/android_device_semc_mogami-common — pull request #6 by MardonHH (2014-08-26 15:49:09+00:00)
Title: for FM testing purposes (dont merge)

BOARD_HAVE_QCOM_FM := true
and
COMMON_GLOBAL_CFLAGS += -DQCOM_FM_ENABLED -DHAVE_SEMC_FM_RADIO
there are no ifdefs for this in
https://github.com/CyanogenMod/android_system_core/blob/cm-11.0/include/system/audio.h

FM paths are activated by

#ifdef QCOM_HARDWARE
AUDIO_DEVICE_OUT_FM = 0x80000,
AUDIO_DEVICE_OUT_FM_TX = 0x100000,
AUDIO_DEVICE_OUT_SPDIF = 0x200000,
#endif

#ifdef QCOM_HARDWARE
AUDIO_DEVICE_IN_FM_RX = AUDIO_DEVICE_BIT_IN | 0x8000,
AUDIO_DEVICE_IN_FM_RX_A2DP = AUDIO_DEVICE_BIT_IN | 0x10000,
#endif