@@ -38,13 +38,13 @@ bool OPUSDecoder_AllocateBuffers();
3838void OPUSDecoder_FreeBuffers ();
3939void OPUSDecoder_ClearBuffers ();
4040void OPUSsetDefaults ();
41- int32_t OPUSDecode (uint8_t * inbuf, int32_t * bytesLeft, short * outbuf);
41+ int32_t OPUSDecode (uint8_t * inbuf, int32_t * bytesLeft, int16_t * outbuf);
4242int32_t opusDecodePage0 (uint8_t * inbuf, int32_t * bytesLeft, uint32_t segmentLength);
43- int32_t opusDecodePage3 (uint8_t * inbuf, int32_t * bytesLeft, uint32_t segmentLength, short *outbuf);
44- int8_t opus_FramePacking_Code0 (uint8_t *inbuf, int32_t *bytesLeft, short *outbuf, int32_t packetLen, uint16_t samplesPerFrame);
45- int8_t opus_FramePacking_Code1 (uint8_t *inbuf, int32_t *bytesLeft, short *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
46- int8_t opus_FramePacking_Code2 (uint8_t *inbuf, int32_t *bytesLeft, short *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
47- int8_t opus_FramePacking_Code3 (uint8_t *inbuf, int32_t *bytesLeft, short *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
43+ int32_t opusDecodePage3 (uint8_t * inbuf, int32_t * bytesLeft, uint32_t segmentLength, int16_t *outbuf);
44+ int8_t opus_FramePacking_Code0 (uint8_t *inbuf, int32_t *bytesLeft, int16_t *outbuf, int32_t packetLen, uint16_t samplesPerFrame);
45+ int8_t opus_FramePacking_Code1 (uint8_t *inbuf, int32_t *bytesLeft, int16_t *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
46+ int8_t opus_FramePacking_Code2 (uint8_t *inbuf, int32_t *bytesLeft, int16_t *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
47+ int8_t opus_FramePacking_Code3 (uint8_t *inbuf, int32_t *bytesLeft, int16_t *outbuf, int32_t packetLen, uint16_t samplesPerFrame, uint8_t * frameCount);
4848uint8_t OPUSGetChannels ();
4949uint32_t OPUSGetSampRate ();
5050uint8_t OPUSGetBitsPerSample ();
0 commit comments