Unit test for AudioFrame output from AcmReceiver::GetAudio
This new unit test verifies the parameter fields (not the audio data itself) written to the AudioFrame output by AcmReceiver::GetAudio. Also corrected a few comments reflecting recent changes in the code. BUG=webrtc:5669 Review URL: https://codereview.webrtc.org/1859953002 Cr-Commit-Position: refs/heads/master@{#12253}
This commit is contained in:
committed by
Commit bot
parent
6172401972
commit
7dc68897d3
@ -156,8 +156,8 @@ class NetEq {
|
||||
uint32_t receive_timestamp) = 0;
|
||||
|
||||
// Instructs NetEq to deliver 10 ms of audio data. The data is written to
|
||||
// |audio_frame|. All data in |audio_frame| is wiped; |data_|, |interleaved_|,
|
||||
// |num_channels_|, |samples_per_channel_|, |speech_type_|, and
|
||||
// |audio_frame|. All data in |audio_frame| is wiped; |data_|, |speech_type_|,
|
||||
// |num_channels_|, |sample_rate_hz_|, |samples_per_channel_|, and
|
||||
// |vad_activity_| are updated upon success. If an error is returned, some
|
||||
// fields may not have been updated.
|
||||
// Returns kOK on success, or kFail in case of an error.
|
||||
|
||||
Reference in New Issue
Block a user