#include "third_party/blink/renderer/modules/webcodecs/encoded_audio_chunk.h"
#include <utility>
#include "third_party/blink/renderer/bindings/modules/v8/v8_decrypt_config.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_encoded_audio_chunk_init.h"
#include "third_party/blink/renderer/modules/webcodecs/decrypt_config_util.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
EncodedAudioChunk* EncodedAudioChunk::Create(ScriptState* script_state,
const EncodedAudioChunkInit* init,
ExceptionState& exception_state) { … }
EncodedAudioChunk::EncodedAudioChunk(scoped_refptr<media::DecoderBuffer> buffer)
: … { … }
String EncodedAudioChunk::type() const { … }
int64_t EncodedAudioChunk::timestamp() const { … }
std::optional<uint64_t> EncodedAudioChunk::duration() const { … }
uint64_t EncodedAudioChunk::byteLength() const { … }
void EncodedAudioChunk::copyTo(const AllowSharedBufferSource* destination,
ExceptionState& exception_state) { … }
}