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

Unified Diff: media/audio/win/audio_low_latency_output_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 | « media/audio/win/audio_low_latency_input_win.cc ('k') | media/audio/win/wavein_input_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_output_win.cc
diff --git a/media/audio/win/audio_low_latency_output_win.cc b/media/audio/win/audio_low_latency_output_win.cc
index 15cabbaff6ee7cb4237ec238134fde188af0119c..53dcbfe81927e9dc9023216b417539a406d8e962 100644
--- a/media/audio/win/audio_low_latency_output_win.cc
+++ b/media/audio/win/audio_low_latency_output_win.cc
@@ -356,8 +356,8 @@ void WASAPIAudioOutputStream::Run() {
bool playing = true;
bool error = false;
- HANDLE wait_array[] = { stop_render_event_,
- audio_samples_render_event_ };
+ HANDLE wait_array[] = { stop_render_event_.Get(),
+ audio_samples_render_event_.Get() };
UINT64 device_frequency = 0;
// The device frequency is the frequency generated by the hardware clock in
« no previous file with comments | « media/audio/win/audio_low_latency_input_win.cc ('k') | media/audio/win/wavein_input_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698