Fix _hRecThread,_hPlayThread RTC_DCHECK reverse bug.

Bug: webrtc:6779
Change-Id: I030ec010c39ba3755f70b16a64a5163d0857c256
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228721
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34793}
diff --git a/AUTHORS b/AUTHORS
index b4d4100..645b9f3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -25,6 +25,7 @@
 Berthold Herrmann <bertholdherrmann08@googlemail.com>
 Bob Withers <bwit@pobox.com>
 Bridger Maxwell <bridgeyman@gmail.com>
+Cheng Qian <chengqian1521@qq.com>
 Christophe Dumez <ch.dumez@samsung.com>
 Chris Tserng <tserng@amazon.com>
 Cody Barnes <conceptgenesis@gmail.com>
diff --git a/modules/audio_device/win/audio_device_core_win.cc b/modules/audio_device/win/audio_device_core_win.cc
index 41ed8fc..6c08fcc 100644
--- a/modules/audio_device/win/audio_device_core_win.cc
+++ b/modules/audio_device/win/audio_device_core_win.cc
@@ -2355,7 +2355,7 @@
       }
     }
 
-    RTC_DCHECK(_hRecThread);
+    RTC_DCHECK(_hRecThread == NULL);
     _hRecThread = CreateThread(NULL, 0, lpStartAddress, this, 0, NULL);
     if (_hRecThread == NULL) {
       RTC_LOG(LS_ERROR) << "failed to create the recording thread";
@@ -2492,7 +2492,7 @@
     MutexLock lockScoped(&mutex_);
 
     // Create thread which will drive the rendering.
-    RTC_DCHECK(_hPlayThread);
+    RTC_DCHECK(_hPlayThread == NULL);
     _hPlayThread = CreateThread(NULL, 0, WSAPIRenderThread, this, 0, NULL);
     if (_hPlayThread == NULL) {
       RTC_LOG(LS_ERROR) << "failed to create the playout thread";