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

Side by Side Diff: ash/system/win/audio/tray_audio_delegate_win.h

Issue 620673002: Flip the left/right speaker when the device is in yoga mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change internal speaker channel mode OnDisplayAdded. Created 6 years, 2 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 11 matching lines...) Expand all
22 22
23 // Overridden from TrayAudioDelegate. 23 // Overridden from TrayAudioDelegate.
24 virtual void AdjustOutputVolumeToAudibleLevel() OVERRIDE; 24 virtual void AdjustOutputVolumeToAudibleLevel() OVERRIDE;
25 virtual int GetOutputDefaultVolumeMuteLevel() OVERRIDE; 25 virtual int GetOutputDefaultVolumeMuteLevel() OVERRIDE;
26 virtual int GetOutputVolumeLevel() OVERRIDE; 26 virtual int GetOutputVolumeLevel() OVERRIDE;
27 virtual int GetActiveOutputDeviceIconId() OVERRIDE; 27 virtual int GetActiveOutputDeviceIconId() OVERRIDE;
28 virtual bool HasAlternativeSources() OVERRIDE; 28 virtual bool HasAlternativeSources() OVERRIDE;
29 virtual bool IsOutputAudioMuted() OVERRIDE; 29 virtual bool IsOutputAudioMuted() OVERRIDE;
30 virtual void SetOutputAudioIsMuted(bool is_muted) OVERRIDE; 30 virtual void SetOutputAudioIsMuted(bool is_muted) OVERRIDE;
31 virtual void SetOutputVolumeLevel(int level) OVERRIDE; 31 virtual void SetOutputVolumeLevel(int level) OVERRIDE;
32 virtual void SetInternalSpeakerChannelMode(AudioChannelMode mode) OVERRIDE;
32 33
33 private: 34 private:
34 base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl(); 35 base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl();
35 }; 36 };
36 37
37 } // namespace system 38 } // namespace system
38 } // namespace ash 39 } // namespace ash
39 40
40 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_ 41 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698