dff138229c
* amadeus: Allow OOB read of GC-ADPCM coefficients Fixes "Ninja Gaiden Sigma 2" and possibly "NINJA GAIDEN 3: Razor's Edge" * amadeus: Fix wrong variable usage in delay effect We should transform the delay line values, not the input. * amadeus: Update GroupedBiquadFilterCommand documentation * amadeus: Simplify PoolMapper alignment checks * amadeus: Update Surround delay effect matrix to REV11 * amadeus: Add drop parameter support and use 32 bits integers for estimate time Also implement accurate ExecuteAudioRendererRendering stub. * Address gdkchan's comments * Address gdkchan's other comments * Address gdkchan's comment
22 lines
763 B
C#
22 lines
763 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();
|
|
}
|
|
}
|