From e7b58b249036231b667665fcd6c86ed6f73b16dc Mon Sep 17 00:00:00 2001 From: Mingming Yin Date: Thu, 27 Dec 2012 17:42:23 -0800 Subject: qcom-fm: audio: add support for FM feature -Add set_fm_volume() to set handle fm volume Change-Id: I2a2c6a60b9855d9360ff8fb90849517e77e5faab Conflicts: audio/AudioPolicyManagerBase.cpp include/hardware_legacy/AudioSystemLegacy.h --- audio/AudioPolicyCompatClient.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/AudioPolicyCompatClient.h') diff --git a/audio/AudioPolicyCompatClient.h b/audio/AudioPolicyCompatClient.h index 5399c8c..d468126 100644 --- a/audio/AudioPolicyCompatClient.h +++ b/audio/AudioPolicyCompatClient.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2011 The Android Open Source Project + * Copyright (c) 2013, The Linux Foundation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,6 +69,9 @@ public: float volume, audio_io_handle_t output, int delayMs = 0); +#ifdef QCOM_FM_ENABLED + virtual status_t setFmVolume(float volume, int delayMs = 0); +#endif virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream); virtual status_t stopTone(); virtual status_t setVoiceVolume(float volume, int delayMs = 0); -- cgit v1.2.3