Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / media / audio / win / audio_low_latency_output_win.cc
index 15cabba..53dcbfe 100644 (file)
@@ -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