blob: f7ec4fef3c125504ff45c96b54c4e4950be0b5ea [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/media/audio_log_factory.h"
#include <utility>
#include "content/browser/media/media_internals.h"
namespace content {
AudioLogFactory::AudioLogFactory() = default;
AudioLogFactory::~AudioLogFactory() = default;
void AudioLogFactory::CreateAudioLog(
media::mojom::AudioLogComponent component,
int32_t component_id,
media::mojom::AudioLogRequest audio_log_request) {
MediaInternals::GetInstance()->CreateMojoAudioLog(
static_cast<media::AudioLogFactory::AudioComponent>(component),
component_id, std::move(audio_log_request));
}
} // namespace content