#include "modules/audio_coding/neteq/tools/input_audio_file.h"
#include "absl/strings/string_view.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace test {
InputAudioFile::InputAudioFile(absl::string_view file_name, bool loop_at_end)
: … { … }
InputAudioFile::~InputAudioFile() { … }
bool InputAudioFile::Read(size_t samples, int16_t* destination) { … }
bool InputAudioFile::Seek(int samples) { … }
void InputAudioFile::DuplicateInterleaved(const int16_t* source,
size_t samples,
size_t channels,
int16_t* destination) { … }
}
}