Ryujinx/src/Ryujinx.Horizon/Sdk/Applet/AppletResourceUserId.cs
gdkchan d4d0a48bfe
Migrate Audio service to new IPC (#6285)
* Migrate audren to new IPC

* Migrate audout

* Migrate audin

* Migrate hwopus

* Bye bye old audio service

* Switch volume control to IHardwareDeviceDriver

* Somewhat unrelated changes

* Remove Concentus reference from HLE

* Implement OpenAudioRendererForManualExecution

* Remove SetVolume/GetVolume methods that are not necessary

* Remove SetVolume/GetVolume methods that are not necessary (2)

* Fix incorrect volume update

* PR feedback

* PR feedback

* Stub audrec

* Init outParameter

* Make FinalOutputRecorderParameter/Internal readonly

* Make FinalOutputRecorder IDisposable

* Fix HardwareOpusDecoderManager parameter buffers

* Opus work buffer size and error handling improvements

* Add AudioInProtocolName enum

* Fix potential divisions by zero
2024-02-22 16:58:33 -03:00

16 lines
321 B
C#

using System.Runtime.InteropServices;
namespace Ryujinx.Horizon.Sdk.Applet
{
[StructLayout(LayoutKind.Sequential, Size = 0x8, Pack = 0x8)]
readonly struct AppletResourceUserId
{
public readonly ulong Id;
public AppletResourceUserId(ulong id)
{
Id = id;
}
}
}