am b3c06e49: Merge "TIF: fix loud volume after input switch when volume is 0" into lmp-mr1-dev automerge: cd8a80c

* commit 'b3c06e49c8e286f8960be65c3e96934ea2ab8b49':
  TIF: fix loud volume after input switch when volume is 0
This commit is contained in:
Wonsik Kim
2015-01-27 01:47:11 +00:00
committed by Android Git Automerger

View File

@@ -677,7 +677,9 @@ class TvInputHardwareManager implements TvInputHal.Callback {
private AudioDevicePort mAudioSource;
private List<AudioDevicePort> mAudioSink = new ArrayList<>();
private AudioPatch mAudioPatch = null;
private float mCommittedVolume = 0.0f;
// Set to an invalid value for a volume, so that current volume can be applied at the
// first call to updateAudioConfigLocked().
private float mCommittedVolume = -1f;
private float mSourceVolume = 0.0f;
private TvStreamConfig mActiveConfig = null;