mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
a527e0f508
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3788 b3059339-0415-0410-9bf9-f77b7e298cf2
16 lines
380 B
C
16 lines
380 B
C
#ifndef ADPCM_H
|
|
#define ADPCM_H
|
|
|
|
#define IMA_ADPCM_BLOCK_SIZE 0x22
|
|
#define IMA_ADPCM_SAMPLES_PER_BLOCK 0x40
|
|
|
|
#define MS_ADPCM_BLOCK_SIZE 256
|
|
#define MS_ADPCM_SAMPLES_PER_BLOCK ((256 - 7) * 2)
|
|
|
|
int ima_adpcm_decode_block(unsigned short *output, unsigned char *input,
|
|
int channels);
|
|
int ms_adpcm_decode_block(unsigned short *output, unsigned char *input,
|
|
int channels);
|
|
|
|
#endif
|