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:
solenberg
2016-03-29 16:42:06 -07:00
committed by Commit bot
parent 059dadf0c4
commit 0d343fa39d
3 changed files with 0 additions and 57 deletions

View File

@ -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) {