summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-17 03:12:18 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-17 03:12:18 +0000
commite900bb3e43ce97892cdeb0c79ce503befbdaf4c8 (patch)
tree90ed28510be263955f582cb626d65a9ed2b28be3 /media
parentcaeb7a0ca33ec99cd3dc68e95ca23ca4aa7e8068 (diff)
downloadchromium_src-e900bb3e43ce97892cdeb0c79ce503befbdaf4c8.zip
chromium_src-e900bb3e43ce97892cdeb0c79ce503befbdaf4c8.tar.gz
chromium_src-e900bb3e43ce97892cdeb0c79ce503befbdaf4c8.tar.bz2
Testing to determine why some trybots have issues with some PCMWave testing.
TBR=maruel Review URL: http://codereview.chromium.org/18188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/win/waveout_output_win.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/audio/win/waveout_output_win.cc b/media/audio/win/waveout_output_win.cc
index ae0ff54..dbacad0 100644
--- a/media/audio/win/waveout_output_win.cc
+++ b/media/audio/win/waveout_output_win.cc
@@ -77,9 +77,10 @@ bool PCMWaveOutAudioOutputStream::Open(size_t buffer_size) {
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;