Remove unused stuff from AudioFrame:
- The interleaved_ field. Never set to anything but 'true'. AudioFrame data appears to always be treated as interleaved. - The Append() method. - operator-=(). BUG= Review URL: https://codereview.webrtc.org/1830713003 Cr-Commit-Position: refs/heads/master@{#12152}
This commit is contained in:
@ -80,7 +80,6 @@ void AudioFrameOperations::SwapStereoChannels(AudioFrame* frame) {
|
||||
void AudioFrameOperations::Mute(AudioFrame* frame, bool previous_frame_muted,
|
||||
bool current_frame_muted) {
|
||||
RTC_DCHECK(frame);
|
||||
RTC_DCHECK(frame->interleaved_);
|
||||
if (!previous_frame_muted && !current_frame_muted) {
|
||||
// Not muted, don't touch.
|
||||
} else if (previous_frame_muted && current_frame_muted) {
|
||||
|
||||
Reference in New Issue
Block a user