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

Unified Diff: webrtc/media/engine/webrtcvoiceengine.h

Issue 1827263002: Early initialize recording on the ADM from WebRtcVoiceMediaChannel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: set upstream to 1830213002 Created 4 years, 9 months 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
Index: webrtc/media/engine/webrtcvoiceengine.h
diff --git a/webrtc/media/engine/webrtcvoiceengine.h b/webrtc/media/engine/webrtcvoiceengine.h
index 247669798416439e8d23b4e223b8c818e7392d80..aca850682b1224ed1c5d51b292589b047f121993 100644
--- a/webrtc/media/engine/webrtcvoiceengine.h
+++ b/webrtc/media/engine/webrtcvoiceengine.h
@@ -103,6 +103,7 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback {
void StartAecDump(const std::string& filename);
int CreateVoEChannel();
+ webrtc::AudioDeviceModule* adm();
rtc::ThreadChecker signal_thread_checker_;
rtc::ThreadChecker worker_thread_checker_;
@@ -126,7 +127,7 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback {
rtc::Optional<bool> delay_agnostic_aec_;
rtc::Optional<bool> experimental_ns_;
- RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcVoiceEngine);
+ RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceEngine);
};
// WebRtcVoiceMediaChannel is an implementation of VoiceMediaChannel that uses
@@ -225,6 +226,7 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
bool HasSendCodec() const {
return send_codec_spec_.codec_inst.pltype != -1;
}
+ void SetupRecording();
rtc::ThreadChecker worker_thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698