Sound/soc/msm/qdsp6/q6asm.c
Sound/soc/msm/qdsp6/q6adm.c
Sound/soc/msm/qdsp6/q6afe.c
Sound/soc/msm/msm8x60-dai.c
Sound/soc/msm/msm8x60.c
Sound/soc/msm/msm8x60-pcm.c
Sound/soc/msm/snd-soc-lpass-dma.c
Sound/soc/codec/wnc/wnc/wnc_wm8737.c
Arch/arm/mach-msm/qdsp6v2/pcm_out.c
Arch/arm/mach-msm/qdsp6v2/pcm_in.c
frameworks/base/services/audioflinger/AudioFlinger.cpp
frameworks/base/media/libmedia/AudioSystem.cpp
./frameworks/base/services/audioflinger/AudioPolicyService.cpp
./hardware/qcom/media/audio/msm8660/AudioHardware.cpp
./hardware/qcom/media/audio/msm8660/AudioPolicyManager.cpp
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp
hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
74 enum stream_type {
75 DEFAULT =-1,
76 VOICE_CALL = 0,
77 SYSTEM = 1,
78 RING = 2,
79 MUSIC = 3,
80 ALARM = 4,
81 NOTIFICATION = 5,
82 BLUETOOTH_SCO = 6,
83 ENFORCED_AUDIBLE = 7, // Sounds that cannot be muted by user and must be routed to speaker
84 DTMF = 8,
85 TTS = 9,
86 FM = 10,
87 NUM_STREAM_TYPES
88 };
enum audio_devices {
// output devices
DEVICE_OUT_EARPIECE = 0x1,
DEVICE_OUT_SPEAKER = 0x2,
DEVICE_OUT_WIRED_HEADSET = 0x4,
DEVICE_OUT_WIRED_HEADPHONE = 0x8,
DEVICE_OUT_BLUETOOTH_SCO = 0x10,
DEVICE_OUT_BLUETOOTH_SCO_HEADSET = 0x20,
DEVICE_OUT_BLUETOOTH_SCO_CARKIT = 0x40,
DEVICE_OUT_BLUETOOTH_A2DP = 0x80,
DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES = 0x100,
DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER = 0x200,
DEVICE_OUT_AUX_DIGITAL = 0x400,
DEVICE_OUT_ANLG_DOCK_HEADSET = 0x800,
DEVICE_OUT_DGTL_DOCK_HEADSET = 0x1000,
DEVICE_OUT_FM = 0x2000,
DEVICE_OUT_ANC_HEADSET = 0x4000,
DEVICE_OUT_ANC_HEADPHONE = 0x8000,
DEVICE_OUT_FM_TX = 0x10000,
DEVICE_OUT_DIRECTOUTPUT = 0x20000,
DEVICE_OUT_PROXY = 0x40000,
DEVICE_OUT_DEFAULT = 0x80000,