#include "third_party/blink/renderer/modules/mediarecorder/audio_track_pcm_encoder.h"
#include <optional>
#include "base/logging.h"
#include "media/base/audio_sample_types.h"
#include "media/base/audio_timestamp_helper.h"
namespace blink {
AudioTrackPcmEncoder::AudioTrackPcmEncoder(OnEncodedAudioCB on_encoded_audio_cb)
: … { … }
void AudioTrackPcmEncoder::OnSetFormat(
const media::AudioParameters& input_params) { … }
void AudioTrackPcmEncoder::EncodeAudio(
std::unique_ptr<media::AudioBus> input_bus,
base::TimeTicks capture_time) { … }
}