#include "modules/audio_coding/neteq/audio_vector.h"
#include <algorithm>
#include <memory>
#include "rtc_base/checks.h"
namespace webrtc {
AudioVector::AudioVector() : … { … }
AudioVector::AudioVector(size_t initial_size)
: … { … }
AudioVector::~AudioVector() = default;
void AudioVector::Clear() { … }
void AudioVector::CopyTo(AudioVector* copy_to) const { … }
void AudioVector::CopyTo(size_t length,
size_t position,
int16_t* copy_to) const { … }
void AudioVector::PushFront(const AudioVector& prepend_this) { … }
void AudioVector::PushFront(const int16_t* prepend_this, size_t length) { … }
void AudioVector::PushBack(const AudioVector& append_this) { … }
void AudioVector::PushBack(const AudioVector& append_this,
size_t length,
size_t position) { … }
void AudioVector::PushBack(const int16_t* append_this, size_t length) { … }
void AudioVector::PopFront(size_t length) { … }
void AudioVector::PopBack(size_t length) { … }
void AudioVector::Extend(size_t extra_length) { … }
void AudioVector::InsertAt(const int16_t* insert_this,
size_t length,
size_t position) { … }
void AudioVector::InsertZerosAt(size_t length, size_t position) { … }
void AudioVector::OverwriteAt(const AudioVector& insert_this,
size_t length,
size_t position) { … }
void AudioVector::OverwriteAt(const int16_t* insert_this,
size_t length,
size_t position) { … }
void AudioVector::CrossFade(const AudioVector& append_this,
size_t fade_length) { … }
size_t AudioVector::Size() const { … }
bool AudioVector::Empty() const { … }
void AudioVector::Reserve(size_t n) { … }
void AudioVector::InsertByPushBack(const int16_t* insert_this,
size_t length,
size_t position) { … }
void AudioVector::InsertByPushFront(const int16_t* insert_this,
size_t length,
size_t position) { … }
void AudioVector::InsertZerosByPushBack(size_t length, size_t position) { … }
void AudioVector::InsertZerosByPushFront(size_t length, size_t position) { … }
}