mirror of
https://git.zaroz.cloud/nintendo-back-up/Ryujinx.git
synced 2025-12-17 07:52:42 +00:00
Move solution and projects to src
This commit is contained in:
33
src/Ryujinx.HLE/HOS/Services/Audio/AudioOut/IAudioOut.cs
Normal file
33
src/Ryujinx.HLE/HOS/Services/Audio/AudioOut/IAudioOut.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Ryujinx.Audio.Common;
|
||||
using Ryujinx.HLE.HOS.Kernel.Threading;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Services.Audio.AudioOut
|
||||
{
|
||||
interface IAudioOut : IDisposable
|
||||
{
|
||||
AudioDeviceState GetState();
|
||||
|
||||
ResultCode Start();
|
||||
|
||||
ResultCode Stop();
|
||||
|
||||
ResultCode AppendBuffer(ulong bufferTag, ref AudioUserBuffer buffer);
|
||||
|
||||
KEvent RegisterBufferEvent();
|
||||
|
||||
ResultCode GetReleasedBuffers(Span<ulong> releasedBuffers, out uint releasedCount);
|
||||
|
||||
bool ContainsBuffer(ulong bufferTag);
|
||||
|
||||
uint GetBufferCount();
|
||||
|
||||
ulong GetPlayedSampleCount();
|
||||
|
||||
bool FlushBuffers();
|
||||
|
||||
void SetVolume(float volume);
|
||||
|
||||
float GetVolume();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user