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

Side by Side Diff: ash/system/win/audio/tray_audio_delegate_win.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
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_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_ 5 #ifndef ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
6 #define ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_ 6 #define ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
7 7
8 #include <audioclient.h> 8 #include <audioclient.h>
9 #include <mmdeviceapi.h> 9 #include <mmdeviceapi.h>
10 10
(...skipping 12 matching lines...) Expand all
23 // Overridden from TrayAudioDelegate. 23 // Overridden from TrayAudioDelegate.
24 void AdjustOutputVolumeToAudibleLevel() override; 24 void AdjustOutputVolumeToAudibleLevel() override;
25 int GetOutputDefaultVolumeMuteLevel() override; 25 int GetOutputDefaultVolumeMuteLevel() override;
26 int GetOutputVolumeLevel() override; 26 int GetOutputVolumeLevel() override;
27 int GetActiveOutputDeviceIconId() override; 27 int GetActiveOutputDeviceIconId() override;
28 bool HasAlternativeSources() override; 28 bool HasAlternativeSources() override;
29 bool IsOutputAudioMuted() override; 29 bool IsOutputAudioMuted() override;
30 void SetOutputAudioIsMuted(bool is_muted) override; 30 void SetOutputAudioIsMuted(bool is_muted) override;
31 void SetOutputVolumeLevel(int level) override; 31 void SetOutputVolumeLevel(int level) override;
32 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override; 32 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override;
33 void SetActiveHDMIOutoutRediscoveringIfNecessary(
34 bool force_rediscovering) override;
33 35
34 private: 36 private:
35 base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl(); 37 base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl();
36 }; 38 };
37 39
38 } // namespace system 40 } // namespace system
39 } // namespace ash 41 } // namespace ash
40 42
41 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_ 43 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc ('k') | ash/system/win/audio/tray_audio_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698