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

Unified Diff: webrtc/modules/audio_mixer/audio_mixer.h

Issue 2111293003: Removed callback between old AudioConferenceMixer and OutputMixer. The audio frame with mixed audio… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@new_mixer_format
Patch Set: Renamed 'Participant' into 'AudioSource' everywhere. Created 4 years, 5 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/modules/audio_mixer/audio_mixer.h
diff --git a/webrtc/modules/audio_mixer/audio_mixer.h b/webrtc/modules/audio_mixer/audio_mixer.h
index ddcebe56258ae9d89ac862a41c51e64653eb1133..51b2f9750bd039cfb05501fbe1833a6051c8d084 100644
--- a/webrtc/modules/audio_mixer/audio_mixer.h
+++ b/webrtc/modules/audio_mixer/audio_mixer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -32,7 +32,7 @@ class Statistics;
// Note: this class is in the process of being rewritten and merged
// with AudioConferenceMixer. Expect inheritance chains to be changed,
// member functions removed or renamed.
-class AudioMixer : public OldAudioMixerOutputReceiver, public FileCallback {
+class AudioMixer : public FileCallback {
public:
static int32_t Create(AudioMixer*& mixer, uint32_t instanceId); // NOLINT
@@ -52,11 +52,12 @@ class AudioMixer : public OldAudioMixerOutputReceiver, public FileCallback {
int32_t DoOperationsOnCombinedSignal(bool feed_data_to_apm);
- int32_t SetMixabilityStatus(MixerAudioSource& participant, // NOLINT
+ int32_t SetMixabilityStatus(MixerAudioSource& audio_source, // NOLINT
bool mixable);
- int32_t SetAnonymousMixabilityStatus(MixerAudioSource& participant, // NOLINT
- bool mixable);
+ int32_t SetAnonymousMixabilityStatus(
+ MixerAudioSource& audio_source, // NOLINT
+ bool mixable);
int GetMixedAudio(int sample_rate_hz,
size_t num_channels,
@@ -79,12 +80,6 @@ class AudioMixer : public OldAudioMixerOutputReceiver, public FileCallback {
virtual ~AudioMixer();
- // from AudioMixerOutputReceiver
- virtual void NewMixedAudio(int32_t id,
- const AudioFrame& generalAudioFrame,
- const AudioFrame** uniqueAudioFrames,
- uint32_t size);
-
// For file recording
void PlayNotification(int32_t id, uint32_t durationMs);

Powered by Google App Engine
This is Rietveld 408576698