From 69f48b86d78ac8968ccafc6287eed3079f1cb56e Mon Sep 17 00:00:00 2001 From: Hochi Huang Date: Tue, 26 Aug 2014 17:39:03 +0800 Subject: [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 Change-Id: I1bda15838da409d08f9ed0e8023b93023109cb2d (cherry picked from commit a9a3b5d93ee90c21619ddb6a606d24325109e914) --- include/hardware_legacy/AudioHardwareInterface.h | 2 ++ 1 file changed, 2 insertions(+) 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& args) = 0; + virtual status_t setMasterMute(bool muted) = 0; + static AudioHardwareInterface* create(); virtual int createAudioPatch(unsigned int num_sources, -- cgit v1.2.3