1.3.1.1.2 ADPCM_Decoder Function

C

bool ADPCM_Decoder(uint8_t *input, uint16_t inSize, uint16_t *read, int16_t *output, uint16_t *written);

Summary

Decode the ADPCM stream of inSize from input pointer into output pointer.

Description

Decode the ADPCM stream of inSize from input pointer into output pointer.

Parameters

inSize - Size of ADPCM input stream in bytes.

read - Size of ADPCM decoder has decoded after this function complete

Returns

output - Pointer to the decoded data.

written - Size of decoded data.

If successful, returns true, otherwise, returns false.

Remarks None.