Added new mixer to |check_targets| in .gn and fixed include/depend errors.
Also fixed one small chromium-style error in the new mixer. NOTRY=True Review-Url: https://codereview.webrtc.org/2234293002 Cr-Commit-Position: refs/heads/master@{#13752}
This commit is contained in:
parent
963be23e62
commit
d700bef583
5
.gn
5
.gn
@ -19,7 +19,10 @@ secondary_source = "//build/secondary/"
|
||||
# their includes checked for proper dependencies when you run either
|
||||
# "gn check" or "gn gen --check".
|
||||
# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
|
||||
check_targets = [ "//webrtc/voice_engine:level_indicator" ]
|
||||
check_targets = [
|
||||
"//webrtc/voice_engine:level_indicator",
|
||||
"//webrtc/modules/audio_mixer:audio_conference_mixer",
|
||||
]
|
||||
|
||||
# These are the list of GN files that run exec_script. This whitelist exists
|
||||
# to force additional review for new uses of exec_script, which is strongly
|
||||
|
||||
@ -72,9 +72,11 @@ source_set("audio_conference_mixer") {
|
||||
}
|
||||
|
||||
deps = [
|
||||
"../..:webrtc_common",
|
||||
"../../base:rtc_base_approved",
|
||||
"../../modules/audio_processing",
|
||||
"../../modules/utility",
|
||||
"../../system_wrappers",
|
||||
"../../system_wrappers:system_wrappers_default",
|
||||
]
|
||||
}
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
#include "webrtc/modules/utility/include/audio_frame_operations.h"
|
||||
#include "webrtc/system_wrappers/include/critical_section_wrapper.h"
|
||||
#include "webrtc/system_wrappers/include/trace.h"
|
||||
#include "webrtc/voice_engine/utility.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
@ -142,6 +141,8 @@ NewAudioConferenceMixerImpl::NewAudioConferenceMixerImpl(int id)
|
||||
thread_checker_.DetachFromThread();
|
||||
}
|
||||
|
||||
NewAudioConferenceMixerImpl::~NewAudioConferenceMixerImpl() {}
|
||||
|
||||
bool NewAudioConferenceMixerImpl::Init() {
|
||||
crit_.reset(CriticalSectionWrapper::CreateCriticalSection());
|
||||
if (crit_.get() == NULL)
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
#include "webrtc/base/thread_checker.h"
|
||||
#include "webrtc/engine_configurations.h"
|
||||
#include "webrtc/modules/audio_mixer/new_audio_conference_mixer.h"
|
||||
#include "webrtc/modules/audio_conference_mixer/source/memory_pool.h"
|
||||
#include "webrtc/modules/include/module_common_types.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -64,6 +63,8 @@ class NewAudioConferenceMixerImpl : public NewAudioConferenceMixer {
|
||||
|
||||
explicit NewAudioConferenceMixerImpl(int id);
|
||||
|
||||
~NewAudioConferenceMixerImpl() override;
|
||||
|
||||
// Must be called after ctor.
|
||||
bool Init();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user