Add stub draft of audio generator to APM
This provides the empty shell of an AudioGenerator class. It is intended to be used for debugging purposes and can be inserted into the APM much like an AecDump. It allows for playing out diagnostic audio unaffected by codecs and network jitter, while still capturing API interaction like in a normal call. NOTRY=True Bug: webrtc:8882 Change-Id: I8132afc95cdba02ab233f44e22e0a5f530710ef7 Reviewed-on: https://webrtc-review.googlesource.com/53300 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22282}
This commit is contained in:
committed by
Commit Bot
parent
4c09d7af8a
commit
4d3644979c
@ -62,6 +62,9 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
void UpdateHistogramsOnCallEnd() override;
|
||||
void AttachAecDump(std::unique_ptr<AecDump> aec_dump) override;
|
||||
void DetachAecDump() override;
|
||||
void AttachPlayoutAudioGenerator(
|
||||
std::unique_ptr<AudioGenerator> audio_generator) override;
|
||||
void DetachPlayoutAudioGenerator() override;
|
||||
|
||||
// Capture-side exclusive methods possibly running APM in a
|
||||
// multi-threaded manner. Acquire the capture lock.
|
||||
|
||||
Reference in New Issue
Block a user