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

Unified Diff: remoting/host/audio_capturer_win.h

Issue 1867213002: Support audio in curtain mode, and use endpoint volume instead of session volume to adjust audio st… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve review comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer_win.h
diff --git a/remoting/host/audio_capturer_win.h b/remoting/host/audio_capturer_win.h
index 11070bef23bdd0c4e06f14b28842a51cd9bab6e4..9dcead039728bf996b24490ab40a27bd40384eb7 100644
--- a/remoting/host/audio_capturer_win.h
+++ b/remoting/host/audio_capturer_win.h
@@ -6,6 +6,7 @@
#define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
#include <audioclient.h>
+#include <endpointvolume.h>
#include <mmdeviceapi.h>
#include "base/macros.h"
@@ -41,7 +42,7 @@ class AudioCapturerWin : public AudioCapturer {
// Processes a series of samples, and executes callback if the packet is
// qualified to be sent to client.
- void ProcessSamples(uint8_t* data, size_t frames, int32_t flags);
+ void ProcessSamples(uint8_t* data, size_t frames);
PacketCapturedCallback callback_;
@@ -56,7 +57,7 @@ class AudioCapturerWin : public AudioCapturer {
base::win::ScopedComPtr<IAudioCaptureClient> audio_capture_client_;
base::win::ScopedComPtr<IAudioClient> audio_client_;
base::win::ScopedComPtr<IMMDevice> mm_device_;
- base::win::ScopedComPtr<ISimpleAudioVolume> audio_volume_;
+ base::win::ScopedComPtr<IAudioEndpointVolume> audio_volume_;
HRESULT last_capture_error_;
« no previous file with comments | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698