2020-12-28 19:15:37 +04:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#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:
|
2021-06-25 07:18:27 +04:00
|
|
|
void OpenHardwareOpusDecoder(Kernel::HLERequestContext& ctx);
|
|
|
|
void OpenHardwareOpusDecoderEx(Kernel::HLERequestContext& ctx);
|
2020-12-28 19:15:37 +04:00
|
|
|
void GetWorkBufferSize(Kernel::HLERequestContext& ctx);
|
2021-06-25 07:18:27 +04:00
|
|
|
void GetWorkBufferSizeEx(Kernel::HLERequestContext& ctx);
|
2020-12-28 19:15:37 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Service::Audio
|