diff options
Diffstat (limited to 'media/audio/win/waveout_output_win.cc')
-rw-r--r-- | media/audio/win/waveout_output_win.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/media/audio/win/waveout_output_win.cc b/media/audio/win/waveout_output_win.cc index dbacad0..fa84884 100644 --- a/media/audio/win/waveout_output_win.cc +++ b/media/audio/win/waveout_output_win.cc @@ -77,10 +77,8 @@ bool PCMWaveOutAudioOutputStream::Open(size_t buffer_size) { reinterpret_cast<DWORD_PTR>(WaveCallback), reinterpret_cast<DWORD_PTR>(this), CALLBACK_FUNCTION); - if (result != MMSYSERR_NOERROR) { - fprintf(stderr, "waveOutOpen error %d\n", result); + if (result != MMSYSERR_NOERROR) return false; - } // If we don't have a packet size we use 100ms. if (!buffer_size) buffer_size = format_.nAvgBytesPerSec / 10; |