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

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

Issue 18188: Testing to determine why some trybots have issues with some PCMWave testing.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/waveout_output_win.cc
===================================================================
--- media/audio/win/waveout_output_win.cc (revision 8047)
+++ media/audio/win/waveout_output_win.cc (working copy)
@@ -77,9 +77,10 @@
reinterpret_cast<DWORD_PTR>(WaveCallback),
reinterpret_cast<DWORD_PTR>(this),
CALLBACK_FUNCTION);
- if (result != MMSYSERR_NOERROR)
+ if (result != MMSYSERR_NOERROR) {
+ fprintf(stderr, "waveOutOpen error %d\n", result);
return false;
-
+ }
// If we don't have a packet size we use 100ms.
if (!buffer_size)
buffer_size = format_.nAvgBytesPerSec / 10;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698