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

Unified Diff: webrtc/voice_engine/voe_audio_processing_impl.cc

Issue 2544123003: Move WEBRTC_VOICE_ENGINE_TYPING_DETECTION to transmit_mixer.h (Closed)
Patch Set: Created 4 years 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 | « webrtc/voice_engine/transmit_mixer.cc ('k') | webrtc/voice_engine_configurations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/voe_audio_processing_impl.cc
diff --git a/webrtc/voice_engine/voe_audio_processing_impl.cc b/webrtc/voice_engine/voe_audio_processing_impl.cc
index 953263db9e93b097d55019d9adc7a6ebfe939f64..3ee0e9562fd7c4793948cc2830e9861a251dc9da 100644
--- a/webrtc/voice_engine/voe_audio_processing_impl.cc
+++ b/webrtc/voice_engine/voe_audio_processing_impl.cc
@@ -681,7 +681,7 @@ int VoEAudioProcessingImpl::StopDebugRecording() {
int VoEAudioProcessingImpl::SetTypingDetectionStatus(bool enable) {
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"SetTypingDetectionStatus()");
-#if !defined(WEBRTC_VOICE_ENGINE_TYPING_DETECTION)
+#if !WEBRTC_VOICE_ENGINE_TYPING_DETECTION
NOT_SUPPORTED(_shared->statistics());
#else
if (!_shared->statistics().Initialized()) {
@@ -723,7 +723,7 @@ int VoEAudioProcessingImpl::GetTypingDetectionStatus(bool& enabled) {
}
int VoEAudioProcessingImpl::TimeSinceLastTyping(int& seconds) {
-#if !defined(WEBRTC_VOICE_ENGINE_TYPING_DETECTION)
+#if !WEBRTC_VOICE_ENGINE_TYPING_DETECTION
NOT_SUPPORTED(_shared->statistics());
#else
if (!_shared->statistics().Initialized()) {
@@ -750,7 +750,7 @@ int VoEAudioProcessingImpl::SetTypingDetectionParameters(int timeWindow,
int typeEventDelay) {
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"SetTypingDetectionParameters()");
-#if !defined(WEBRTC_VOICE_ENGINE_TYPING_DETECTION)
+#if !WEBRTC_VOICE_ENGINE_TYPING_DETECTION
NOT_SUPPORTED(_shared->statistics());
#else
if (!_shared->statistics().Initialized()) {
« no previous file with comments | « webrtc/voice_engine/transmit_mixer.cc ('k') | webrtc/voice_engine_configurations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698