#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/formats/webm/opus_packet_builder.h"
#include "base/check_op.h"
#include "media/formats/webm/webm_cluster_parser.h"
namespace media {
OpusPacket::OpusPacket(uint8_t config, uint8_t frame_count, bool is_VBR) { … }
OpusPacket::~OpusPacket() = default;
const uint8_t* OpusPacket::data() const { … }
int OpusPacket::size() const { … }
double OpusPacket::duration_ms() const { … }
std::vector<std::unique_ptr<OpusPacket>> BuildAllOpusPackets() { … }
}