Audio services: Difference between revisions
Line 638: | Line 638: | ||
=== DecodeInterleavedOld === | === DecodeInterleavedOld === | ||
Takes a type-5 input buffer ('''OpusDataIn''') and a type-6 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''' and s32 '''DecodedSampleCount'''. | Takes a type-5 input buffer ('''OpusDataIn''') and a type-6 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''' and s32 '''DecodedSampleCount'''. | ||
Calls the same func as [[#DecodeInterleaved]] internally with flag=0 and out_u64_ptr=NULL. | |||
=== SetContext === | === SetContext === | ||
Line 644: | Line 646: | ||
=== DecodeInterleavedForMultiStreamOld === | === DecodeInterleavedForMultiStreamOld === | ||
Takes a type-5 input buffer ('''OpusDataIn''') and a type-6 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''' and s32 '''DecodedSampleCount'''. | Takes a type-5 input buffer ('''OpusDataIn''') and a type-6 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''' and s32 '''DecodedSampleCount'''. | ||
Calls the same func as [[#DecodeInterleavedForMultiStream]] internally with flag=0 and out_u64_ptr=NULL. | |||
=== SetContextForMultiStream === | === SetContextForMultiStream === | ||
Line 652: | Line 656: | ||
The output u64 is ignored by official user-processes. | The output u64 is ignored by official user-processes. | ||
Calls the same func as [[#DecodeInterleaved]] internally with flag=0. | |||
=== DecodeInterleavedForMultiStreamWithPerfOld === | === DecodeInterleavedForMultiStreamWithPerfOld === | ||
Line 657: | Line 663: | ||
The output u64 is ignored by official user-processes. | The output u64 is ignored by official user-processes. | ||
Calls the same func as [[#DecodeInterleavedForMultiStream]] internally with flag=0. | |||
=== DecodeInterleaved === | === DecodeInterleaved === | ||
Takes an input u8, a type-0x5 input buffer and a type-0x46 output buffer. | Takes an input u8 bool flag, a type-0x5 input buffer ('''OpusDataIn''') and a type-0x46 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''', s32 '''DecodedSampleCount''', and an u64. | ||
=== DecodeInterleavedForMultiStream === | === DecodeInterleavedForMultiStream === | ||
Takes an input u8, a type-0x5 input buffer and a type-0x46 output buffer. | Takes an input u8 bool flag, a type-0x5 input buffer ('''OpusDataIn''') and a type-0x46 output buffer ('''PcmDataOut'''). Decodes the Opus source data to PCM and returns output s32 '''DecodedDataSize''', s32 '''DecodedSampleCount''', and an u64. | ||
= auddebug = | = auddebug = |