diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-16 09:14:51 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-16 09:14:51 +0000 |
commit | a21883d8a69532071ea2c89d37634618b565e16d (patch) | |
tree | b02ee8cbf2e0e653dc669cb26e39a1ad89ea6079 /remoting/host/audio_capturer_win.h | |
parent | fa1ba18a0d57f585228ccde32f80a2933d980cfe (diff) | |
download | chromium_src-a21883d8a69532071ea2c89d37634618b565e16d.zip chromium_src-a21883d8a69532071ea2c89d37634618b565e16d.tar.gz chromium_src-a21883d8a69532071ea2c89d37634618b565e16d.tar.bz2 |
Avoid reporting the same error multiple times when repeatedly capturing audio packets.
BUG=187303
Review URL: https://chromiumcodereview.appspot.com/12892002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/audio_capturer_win.h')
-rw-r--r-- | remoting/host/audio_capturer_win.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/audio_capturer_win.h b/remoting/host/audio_capturer_win.h index 771cf20..eb86007 100644 --- a/remoting/host/audio_capturer_win.h +++ b/remoting/host/audio_capturer_win.h @@ -48,6 +48,8 @@ class AudioCapturerWin : public AudioCapturer { base::win::ScopedComPtr<IAudioClient> audio_client_; base::win::ScopedComPtr<IMMDevice> mm_device_; + HRESULT last_capture_error_; + base::ThreadChecker thread_checker_; DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin); |