mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 21:22:04 +00:00
98c6ceede5
* Partial voice implementation on audio renderer * Implemented audren resampler (based on original impl) * Fix BiquadFilter struct * Pause audio playback on last stream buffer * Split audren/audout files into separate folders, some minor cleanup * Use AudioRendererParameter on GetWorkBufferSize aswell * Bump audren version to REV4, name a few things, increase sample buffer size * Remove useless new lines
22 lines
611 B
C#
22 lines
611 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.OsHle.Services.Aud
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
struct AudioRendererParameter
|
|
{
|
|
public int SampleRate;
|
|
public int SampleCount;
|
|
public int Unknown8;
|
|
public int MixCount;
|
|
public int VoiceCount;
|
|
public int SinkCount;
|
|
public int EffectCount;
|
|
public int PerformanceManagerCount;
|
|
public int VoiceDropEnable;
|
|
public int SplitterCount;
|
|
public int SplitterDestinationDataCount;
|
|
public int Unknown2C;
|
|
public int Revision;
|
|
}
|
|
}
|