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

Unified Diff: media/audio/win/audio_low_latency_input_win.cc

Issue 598243002: Remove implicit HANDLE conversions from media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_low_latency_input_win.cc
diff --git a/media/audio/win/audio_low_latency_input_win.cc b/media/audio/win/audio_low_latency_input_win.cc
index 29a2e7da5551d447430b4788ea820db2a48e1c4b..9fe061b7682b6e7ceeb3f256307a8c34293d8b2d 100644
--- a/media/audio/win/audio_low_latency_input_win.cc
+++ b/media/audio/win/audio_low_latency_input_win.cc
@@ -365,7 +365,8 @@ void WASAPIAudioInputStream::Run() {
bool recording = true;
bool error = false;
double volume = GetVolume();
- HANDLE wait_array[2] = {stop_capture_event_, audio_samples_ready_event_};
+ HANDLE wait_array[2] =
+ { stop_capture_event_.Get(), audio_samples_ready_event_.Get() };
while (recording && !error) {
HRESULT hr = S_FALSE;
« no previous file with comments | « no previous file | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698