hmmm
This commit is contained in:
parent
0bf0d57738
commit
dc27c996fb
4 changed files with 6 additions and 3 deletions
2
extern/adpcm-xq-s/adpcm-lib.c
vendored
2
extern/adpcm-xq-s/adpcm-lib.c
vendored
|
|
@ -340,7 +340,7 @@ int adpcm_encode_block (void *p, uint8_t *outbuf, size_t *outbufsize, const int1
|
|||
* Returns number of converted composite samples (total samples divided by number of channels)
|
||||
*/
|
||||
|
||||
int adpcm_decode_block (int16_t *outbuf, const uint8_t *inbuf, size_t inbufsize, int channels)
|
||||
int adpcm_decode_block (int16_t *outbuf, const uint8_t *inbuf, size_t inbufsize, size_t outbufsize, int channels)
|
||||
{
|
||||
int ch, samples = 1, chunks;
|
||||
int32_t pcmdata[2];
|
||||
|
|
|
|||
2
extern/adpcm-xq-s/adpcm-lib.h
vendored
2
extern/adpcm-xq-s/adpcm-lib.h
vendored
|
|
@ -33,7 +33,7 @@ extern "C" {
|
|||
|
||||
void *adpcm_create_context (int num_channels, int lookahead, int noise_shaping, int32_t initial_deltas [2]);
|
||||
int adpcm_encode_block (void *p, uint8_t *outbuf, size_t *outbufsize, const int16_t *inbuf, int inbufcount);
|
||||
int adpcm_decode_block (int16_t *outbuf, const uint8_t *inbuf, size_t inbufsize, int channels);
|
||||
int adpcm_decode_block (int16_t *outbuf, const uint8_t *inbuf, size_t inbufsize, size_t outbufsize, int channels);
|
||||
void adpcm_free_context (void *p);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue