chromium/services/audio/public/cpp/sounds/sounds_manager.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/audio/public/cpp/sounds/sounds_manager.h"

#include <memory>
#include <string_view>
#include <utility>
#include <vector>

#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "media/base/audio_codecs.h"
#include "services/audio/public/cpp/sounds/audio_stream_handler.h"

namespace audio {

namespace {

SoundsManager* g_instance =;
bool g_initialized_for_testing =;

// SoundsManagerImpl ---------------------------------------------------

class SoundsManagerImpl : public SoundsManager {};

bool SoundsManagerImpl::Initialize(SoundKey key,
                                   std::string_view data,
                                   media::AudioCodec codec) {}

bool SoundsManagerImpl::Play(SoundKey key) {}

bool SoundsManagerImpl::Stop(SoundKey key) {}

base::TimeDelta SoundsManagerImpl::GetDuration(SoundKey key) {}

AudioStreamHandler* SoundsManagerImpl::GetHandler(SoundKey key) {}

}  // namespace

SoundsManager::SoundsManager() = default;

SoundsManager::~SoundsManager() {}

// static
void SoundsManager::Create(StreamFactoryBinder stream_factory_binder) {}

// static
void SoundsManager::Shutdown() {}

// static
SoundsManager* SoundsManager::Get() {}

// static
void SoundsManager::InitializeForTesting(SoundsManager* manager) {}

}  // namespace audio