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

Unified Diff: voice_engine/shared_data.cc

Issue 3015553002: Remove voe::OutputMixer and AudioConferenceMixer. (Closed)
Patch Set: remove conference mixer from presubmit.py Created 3 years, 3 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
« no previous file with comments | « voice_engine/shared_data.h ('k') | voice_engine/voe_base_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/shared_data.cc
diff --git a/voice_engine/shared_data.cc b/voice_engine/shared_data.cc
index dc3d8c0472d96c01469838ec40f654ed5980f7f1..3b3f17f20bca367662e200a7972faa3d8f740d9e 100644
--- a/voice_engine/shared_data.cc
+++ b/voice_engine/shared_data.cc
@@ -13,7 +13,6 @@
#include "modules/audio_processing/include/audio_processing.h"
#include "system_wrappers/include/trace.h"
#include "voice_engine/channel.h"
-#include "voice_engine/output_mixer.h"
#include "voice_engine/transmit_mixer.h"
namespace webrtc {
@@ -30,9 +29,6 @@ SharedData::SharedData()
_moduleProcessThreadPtr(ProcessThread::Create("VoiceProcessThread")),
encoder_queue_("AudioEncoderQueue") {
Trace::CreateTrace();
- if (OutputMixer::Create(_outputMixerPtr, _gInstanceCounter) == 0) {
- _outputMixerPtr->SetEngineInformation(_engineStatistics);
- }
if (TransmitMixer::Create(_transmitMixerPtr, _gInstanceCounter) == 0) {
_transmitMixerPtr->SetEngineInformation(*_moduleProcessThreadPtr,
_engineStatistics, _channelManager);
@@ -41,7 +37,6 @@ SharedData::SharedData()
SharedData::~SharedData()
{
- OutputMixer::Destroy(_outputMixerPtr);
TransmitMixer::Destroy(_transmitMixerPtr);
if (_audioDevicePtr) {
_audioDevicePtr->Release();
@@ -62,7 +57,6 @@ void SharedData::set_audio_device(
void SharedData::set_audio_processing(AudioProcessing* audioproc) {
_transmitMixerPtr->SetAudioProcessingModule(audioproc);
- _outputMixerPtr->SetAudioProcessingModule(audioproc);
}
int SharedData::NumOfSendingChannels() {
« no previous file with comments | « voice_engine/shared_data.h ('k') | voice_engine/voe_base_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698