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

Unified Diff: webrtc/voice_engine/channel_manager.cc

Issue 2665693002: Moves channel-dependent audio input processing to separate encoder task queue (Closed)
Patch Set: nit Created 3 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/voice_engine/channel_manager.cc
diff --git a/webrtc/voice_engine/channel_manager.cc b/webrtc/voice_engine/channel_manager.cc
index 58aef6f7ee7c08773c805f0a8b1a30a35cbdac29..ae44785696bffccfa5303587ebf73c623eeaf4da 100644
--- a/webrtc/voice_engine/channel_manager.cc
+++ b/webrtc/voice_engine/channel_manager.cc
@@ -12,6 +12,7 @@
#include "webrtc/base/timeutils.h"
#include "webrtc/voice_engine/channel.h"
+#include "webrtc/base/logging.h"
namespace webrtc {
namespace voe {
@@ -52,6 +53,7 @@ ChannelManager::ChannelManager(uint32_t instance_id)
ChannelOwner ChannelManager::CreateChannel(
const VoEBase::ChannelConfig& config) {
+ LOG(INFO) << "___CreateChannel";
Channel* channel;
Channel::CreateChannel(channel, ++last_channel_id_, instance_id_, config);
// TODO(solenberg): Delete this, users should configure ssrc
@@ -84,6 +86,7 @@ void ChannelManager::GetAllChannels(std::vector<ChannelOwner>* channels) {
}
void ChannelManager::DestroyChannel(int32_t channel_id) {
+ LOG(INFO) << "___DestroyChannel: " << channel_id;
assert(channel_id >= 0);
// Holds a reference to a channel, this is used so that we never delete
// Channels while holding a lock, but rather when the method returns.

Powered by Google App Engine
This is Rietveld 408576698