Add volume callback for Hdmi-Cec system audio mode.
Hdmi-Cec's system audio mode delegates audio control to audio receiver from tv. It requires to delegate volume change including mute to audio receiver instead of consuming by tv. In order to do this this change introduces three apis. One is added to IAudioService, the others are added to IHdmiControlService as hidden apis. 1. IAudioService#setHdmiSystemAudioSupported; This is to notify system audio mode change to audio service so that it determines to notify volume or mute change to HdmiControlService. 2. IHdmiControlService#setSystemAudioVolume; This is to notify volume change to HdmiControlService. It's called only where system audio mode is on. 3. IHdmiControlService#setSystemAudioMute; This is to notify volume change to HdmiControlService . It's called only where system audio mode is on. Change-Id: I3d8534b37ddf1a812e32012059a8778772044bf0
Loading
Please register or sign in to comment