Chromium Code Reviews

Unified Diff: webrtc/voice_engine/transmit_mixer.h

Issue 2665693002: Moves channel-dependent audio input processing to separate encoder task queue (Closed)
Patch Set: Final feedback from Fredrik Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/voice_engine/transmit_mixer.h
diff --git a/webrtc/voice_engine/transmit_mixer.h b/webrtc/voice_engine/transmit_mixer.h
index 2e728f8e1caa4f7164e554b9c20efce4a913ac94..a045cf8322855abb0b7217e1b23c5e54eb80a00b 100644
--- a/webrtc/voice_engine/transmit_mixer.h
+++ b/webrtc/voice_engine/transmit_mixer.h
@@ -32,7 +32,6 @@
#endif
namespace webrtc {
-
class AudioProcessing;
class ProcessThread;
@@ -64,16 +63,7 @@ public:
uint16_t currentMicLevel,
bool keyPressed);
-
- int32_t DemuxAndMix();
- // Used by the Chrome to pass the recording data to the specific VoE
- // channels for demux.
- void DemuxAndMix(const int voe_channels[], size_t number_of_voe_channels);
-
- int32_t EncodeAndSend();
- // Used by the Chrome to pass the recording data to the specific VoE
- // channels for encoding and sending to the network.
- void EncodeAndSend(const int voe_channels[], size_t number_of_voe_channels);
+ void ProcessAndEncodeAudio();
// Must be called on the same thread as PrepareDemux().
uint32_t CaptureLevel() const;

Powered by Google App Engine