#include "modules/audio_coding/neteq/tools/constant_pcm_packet_source.h"
#include <algorithm>
#include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
#include "modules/audio_coding/neteq/tools/packet.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace test {
ConstantPcmPacketSource::ConstantPcmPacketSource(size_t payload_len_samples,
int16_t sample_value,
int sample_rate_hz,
int payload_type)
: … { … }
std::unique_ptr<Packet> ConstantPcmPacketSource::NextPacket() { … }
void ConstantPcmPacketSource::WriteHeader(uint8_t* packet_memory) { … }
}
}