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

Side by Side Diff: remoting/host/audio_capturer_win.h

Issue 1753663002: Add volume control for windows host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixup a warning (signed / unsigned mismatch) Created 4 years, 9 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 | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | remoting/host/audio_capturer_win.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 5 #ifndef REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
6 #define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 6 #define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
7 7
8 #include <audioclient.h> 8 #include <audioclient.h>
9 #include <mmdeviceapi.h> 9 #include <mmdeviceapi.h>
10 10
(...skipping 28 matching lines...) Expand all
39 39
40 scoped_ptr<base::RepeatingTimer> capture_timer_; 40 scoped_ptr<base::RepeatingTimer> capture_timer_;
41 base::TimeDelta audio_device_period_; 41 base::TimeDelta audio_device_period_;
42 42
43 AudioSilenceDetector silence_detector_; 43 AudioSilenceDetector silence_detector_;
44 44
45 base::win::ScopedCoMem<WAVEFORMATEX> wave_format_ex_; 45 base::win::ScopedCoMem<WAVEFORMATEX> wave_format_ex_;
46 base::win::ScopedComPtr<IAudioCaptureClient> audio_capture_client_; 46 base::win::ScopedComPtr<IAudioCaptureClient> audio_capture_client_;
47 base::win::ScopedComPtr<IAudioClient> audio_client_; 47 base::win::ScopedComPtr<IAudioClient> audio_client_;
48 base::win::ScopedComPtr<IMMDevice> mm_device_; 48 base::win::ScopedComPtr<IMMDevice> mm_device_;
49 base::win::ScopedComPtr<ISimpleAudioVolume> audio_volume_;
49 50
50 HRESULT last_capture_error_; 51 HRESULT last_capture_error_;
51 52
52 base::ThreadChecker thread_checker_; 53 base::ThreadChecker thread_checker_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin); 55 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin);
55 }; 56 };
56 57
57 } // namespace remoting 58 } // namespace remoting
58 59
59 #endif // REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 60 #endif // REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | remoting/host/audio_capturer_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698