blob: 440524d3c98eea286640c58a1248771f4d3b7488 [file] [log] [blame]
// Copyright 2020 The Fuchsia 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 "src/media/audio/audio_core/ultrasound_factory.h"
namespace media::audio {
std::unique_ptr<UltrasoundFactory> UltrasoundFactory::CreateAndServe(Context* context) {
return std::make_unique<UltrasoundFactory>(context);
}
UltrasoundFactory::UltrasoundFactory(Context* context) : context_(*context) {
FX_DCHECK(context);
context_.component_context().outgoing()->AddPublicService(bindings_.GetHandler(this));
}
void UltrasoundFactory::CreateCapturer(
fidl::InterfaceRequest<fuchsia::media::AudioCapturer> request,
CreateCapturerCallback callback) {}
void UltrasoundFactory::CreateRenderer(
fidl::InterfaceRequest<fuchsia::media::AudioRenderer> request,
CreateRendererCallback callback) {}
} // namespace media::audio