CSPspEmu.Hle.Formats.audio.Vag.GetAllDecodedSamples C# (CSharp) Method

GetAllDecodedSamples() public method

public GetAllDecodedSamples ( ) : CSPspEmu.Core.Audio.StereoShortSoundSample[]
return CSPspEmu.Core.Audio.StereoShortSoundSample[]
        public StereoShortSoundSample[] GetAllDecodedSamples()
        {
            var Samples = new StereoShortSoundSample[SamplesCount];
            SamplesDecoder.Reset();
            for (int n = 0; n < SamplesCount; n++)
            {
                Samples[n] = SamplesDecoder.GetNextSample();
            }
            return Samples;
        }