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

Unified Diff: webrtc/audio/audio_transport_proxy.h

Issue 2436033002: Replace AudioConferenceMixer with AudioMixer. (Closed)
Patch Set: Added mock mixer, merged audio state tests. Created 4 years, 1 month 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/audio/audio_state_unittest.cc ('k') | webrtc/audio/audio_transport_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_transport_proxy.h
diff --git a/webrtc/audio/audio_transport_proxy.h b/webrtc/audio/audio_transport_proxy.h
index 05e52fce85cf1a90e1cc208e18cc472bea94d867..1d0337840219246e62a6a551e8bb79608f0f5dd4 100644
--- a/webrtc/audio/audio_transport_proxy.h
+++ b/webrtc/audio/audio_transport_proxy.h
@@ -13,6 +13,8 @@
#include "webrtc/api/audio/audio_mixer.h"
#include "webrtc/base/constructormagic.h"
+#include "webrtc/base/scoped_ref_ptr.h"
+#include "webrtc/common_audio/resampler/include/push_resampler.h"
#include "webrtc/modules/audio_device/include/audio_device_defines.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
@@ -63,7 +65,11 @@ class AudioTransportProxy : public AudioTransport {
private:
AudioTransport* voe_audio_transport_;
- AudioFrame frame_for_mixing_;
+ AudioProcessing* apm_;
+ rtc::scoped_refptr<AudioMixer> mixer_;
+ AudioFrame mixed_frame_;
+ // Converts mixed audio to the audio device output rate.
+ PushResampler<int16_t> resampler_;
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioTransportProxy);
};
« no previous file with comments | « webrtc/audio/audio_state_unittest.cc ('k') | webrtc/audio/audio_transport_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698