mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-05 05:41:03 +02:00
Adds Ryujinx.Audio.Backends.Apple, which is a AudioToolbox based audio backend for macOS (and by extension iOS). Also added in MeloNX. * Expose AudioToolkit in UI Co-authored-by: GreemDev <greemdev@ryujinx.app>
17 lines
422 B
C#
17 lines
422 B
C#
namespace Ryujinx.Audio.Backends.Apple
|
|
{
|
|
class AppleAudioBuffer
|
|
{
|
|
public readonly ulong DriverIdentifier;
|
|
public readonly ulong SampleCount;
|
|
public ulong SamplePlayed;
|
|
|
|
public AppleAudioBuffer(ulong driverIdentifier, ulong sampleCount)
|
|
{
|
|
DriverIdentifier = driverIdentifier;
|
|
SampleCount = sampleCount;
|
|
SamplePlayed = 0;
|
|
}
|
|
}
|
|
}
|