aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Audio/HardwareOpusDecoderManager/IDecoder.cs
blob: cc83be5e3e415de32e584a80b9332cda1576df31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
namespace Ryujinx.HLE.HOS.Services.Audio.HardwareOpusDecoderManager
{
    interface IDecoder
    {
        int SampleRate { get; }
        int ChannelsCount { get; }

        int Decode(byte[] inData, int inDataOffset, int len, short[] outPcm, int outPcmOffset, int frameSize);
        void ResetState();
    }
}