aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Audio/HardwareOpusDecoderManager/IDecoder.cs
blob: 9047c26685def55fcaae5571c02d707b230b62fb (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();
    }
}