mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
3565e32f4d
- This is used by the latest update of Doom Eternal.
28 lines
672 B
C++
28 lines
672 B
C++
// 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:
|
|
void OpenHardwareOpusDecoder(Kernel::HLERequestContext& ctx);
|
|
void OpenHardwareOpusDecoderEx(Kernel::HLERequestContext& ctx);
|
|
void GetWorkBufferSize(Kernel::HLERequestContext& ctx);
|
|
void GetWorkBufferSizeEx(Kernel::HLERequestContext& ctx);
|
|
};
|
|
|
|
} // namespace Service::Audio
|