Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: ash/system/audio/tray_audio_delegate.h

Issue 1199413008: Work around for HDMI audio output rediscovering transistion loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed to VLOG. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/audio/tray_audio.cc ('k') | ash/system/chromeos/audio/tray_audio_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
7 7
8 namespace ash { 8 namespace ash {
9 namespace system { 9 namespace system {
10 10
(...skipping 29 matching lines...) Expand all
40 virtual bool IsOutputAudioMuted() = 0; 40 virtual bool IsOutputAudioMuted() = 0;
41 41
42 // Sets the mute state of the output device. 42 // Sets the mute state of the output device.
43 virtual void SetOutputAudioIsMuted(bool is_muted) = 0; 43 virtual void SetOutputAudioIsMuted(bool is_muted) = 0;
44 44
45 // Sets the volume level of the output device in the range 0%-100% 45 // Sets the volume level of the output device in the range 0%-100%
46 virtual void SetOutputVolumeLevel(int level) = 0; 46 virtual void SetOutputVolumeLevel(int level) = 0;
47 47
48 // Sets the internal speaker's channel mode. 48 // Sets the internal speaker's channel mode.
49 virtual void SetInternalSpeakerChannelMode(AudioChannelMode mode) = 0; 49 virtual void SetInternalSpeakerChannelMode(AudioChannelMode mode) = 0;
50
51 // If necessary, sets the starting point for re-discovering the active HDMI
52 // output device caused by device entering/exiting docking mode, HDMI display
53 // changing resolution, or chromeos device suspend/resume. If
54 // |force_rediscovering| is true, it will force to set the starting point for
55 // re-discovering the active HDMI output device again if it has been in the
56 // middle of rediscovering the HDMI active output device.
57 virtual void SetActiveHDMIOutoutRediscoveringIfNecessary(
58 bool force_rediscovering) = 0;
50 }; 59 };
51 60
52 } // namespace system 61 } // namespace system
53 } // namespace ash 62 } // namespace ash
54 63
55 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 64 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/audio/tray_audio.cc ('k') | ash/system/chromeos/audio/tray_audio_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698