mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-06 09:08:55 +02:00
Add macOS native Audio Backend
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>
This commit is contained in:
committed by
KeatonTheBot
co-authored by
GreemDev
parent
061bfb4074
commit
3cdae775b1
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user