99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
27 lines
656 B
C++
27 lines
656 B
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Service::Audio {
|
|
|
|
class HwOpus final : public ServiceFramework<HwOpus> {
|
|
public:
|
|
explicit HwOpus(Core::System& system_);
|
|
~HwOpus() override;
|
|
|
|
private:
|
|
void OpenHardwareOpusDecoder(Kernel::HLERequestContext& ctx);
|
|
void OpenHardwareOpusDecoderEx(Kernel::HLERequestContext& ctx);
|
|
void GetWorkBufferSize(Kernel::HLERequestContext& ctx);
|
|
void GetWorkBufferSizeEx(Kernel::HLERequestContext& ctx);
|
|
};
|
|
|
|
} // namespace Service::Audio
|