summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioHardwareInterface.h
diff options
context:
space:
mode:
authorHochi Huang <hochi.huang@mediatek.com>2014-08-26 17:39:03 +0800
committerLeo Wang <leozwang@google.com>2014-10-24 23:21:12 +0000
commit69f48b86d78ac8968ccafc6287eed3079f1cb56e (patch)
tree80ac7706fe8770818ee6dd5125e850c0893c8d01 /include/hardware_legacy/AudioHardwareInterface.h
parent677416147e3b2b398db45d2194cd8a2c396410ce (diff)
downloadhardware_libhardware_legacy-69f48b86d78ac8968ccafc6287eed3079f1cb56e.zip
hardware_libhardware_legacy-69f48b86d78ac8968ccafc6287eed3079f1cb56e.tar.gz
hardware_libhardware_legacy-69f48b86d78ac8968ccafc6287eed3079f1cb56e.tar.bz2
[AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with property ro.audio.silent set to true
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com> Change-Id: I1bda15838da409d08f9ed0e8023b93023109cb2d (cherry picked from commit a9a3b5d93ee90c21619ddb6a606d24325109e914)
Diffstat (limited to 'include/hardware_legacy/AudioHardwareInterface.h')
-rw-r--r--include/hardware_legacy/AudioHardwareInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h
index 7d34aaa..6328063 100644
--- a/include/hardware_legacy/AudioHardwareInterface.h
+++ b/include/hardware_legacy/AudioHardwareInterface.h
@@ -279,6 +279,8 @@ public:
/**This method dumps the state of the audio hardware */
virtual status_t dumpState(int fd, const Vector<String16>& args) = 0;
+ virtual status_t setMasterMute(bool muted) = 0;
+
static AudioHardwareInterface* create();
virtual int createAudioPatch(unsigned int num_sources,