mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-06-02 21:28:46 +02:00
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
23 lines
760 B
C#
23 lines
760 B
C#
using Ryujinx.HLE.HOS.Kernel.Threading;
|
|
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Audio.AudioRenderer
|
|
{
|
|
interface IAudioRenderer : IDisposable
|
|
{
|
|
uint GetSampleRate();
|
|
uint GetSampleCount();
|
|
uint GetMixBufferCount();
|
|
int GetState();
|
|
ResultCode RequestUpdate(Memory<byte> output, Memory<byte> performanceOutput, ReadOnlyMemory<byte> input);
|
|
ResultCode Start();
|
|
ResultCode Stop();
|
|
ResultCode QuerySystemEvent(out KEvent systemEvent);
|
|
void SetRenderingTimeLimit(uint percent);
|
|
uint GetRenderingTimeLimit();
|
|
ResultCode ExecuteAudioRendererRendering();
|
|
void SetVoiceDropParameter(float voiceDropParameter);
|
|
float GetVoiceDropParameter();
|
|
}
|
|
}
|