Home
last modified time | relevance | path

Searched refs:adpcm_io_t (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dadpcms.h45 } adpcm_io_t; typedef
48 void lsx_adpcm_reset(adpcm_io_t * state, sox_encoding_t type);
49 int lsx_adpcm_oki_start(sox_format_t * ft, adpcm_io_t * state);
50 int lsx_adpcm_ima_start(sox_format_t * ft, adpcm_io_t * state);
51 size_t lsx_adpcm_read(sox_format_t * ft, adpcm_io_t * state, sox_sample_t *buffer, size_t len);
52 int lsx_adpcm_stopread(sox_format_t * ft, adpcm_io_t * state);
53 size_t lsx_adpcm_write(sox_format_t * ft, adpcm_io_t * state, const sox_sample_t *buffer, size_t le…
54 void lsx_adpcm_flush(sox_format_t * ft, adpcm_io_t * state);
55 int lsx_adpcm_stopwrite(sox_format_t * ft, adpcm_io_t * state);
H A Dvox.c21 return lsx_adpcm_oki_start(ft, (adpcm_io_t *)ft->priv); in lsx_vox_start()
26 return lsx_adpcm_ima_start(ft, (adpcm_io_t *)ft->priv); in lsx_ima_start()
31 return lsx_adpcm_read(ft, (adpcm_io_t *)ft->priv, buffer, len); in lsx_vox_read()
36 return lsx_adpcm_stopread(ft, (adpcm_io_t *)ft->priv); in lsx_vox_stopread()
41 return lsx_adpcm_write(ft, (adpcm_io_t *)ft->priv, buffer, length); in lsx_vox_write()
46 return lsx_adpcm_stopwrite(ft, (adpcm_io_t *)ft->priv); in lsx_vox_stopwrite()
H A Dadpcms.c122 void lsx_adpcm_reset(adpcm_io_t * state, sox_encoding_t type) in lsx_adpcm_reset()
149 static int adpcm_start(sox_format_t * ft, adpcm_io_t * state, sox_encoding_t type) in adpcm_start()
161 int lsx_adpcm_oki_start(sox_format_t * ft, adpcm_io_t * state) in lsx_adpcm_oki_start()
166 int lsx_adpcm_ima_start(sox_format_t * ft, adpcm_io_t * state) in lsx_adpcm_ima_start()
184 size_t lsx_adpcm_read(sox_format_t * ft, adpcm_io_t * state, sox_sample_t * buffer, size_t len) in lsx_adpcm_read()
222 int lsx_adpcm_stopread(sox_format_t * ft UNUSED, adpcm_io_t * state) in lsx_adpcm_stopread()
246 size_t lsx_adpcm_write(sox_format_t * ft, adpcm_io_t * state, const sox_sample_t * buffer, size_t l… in lsx_adpcm_write()
291 void lsx_adpcm_flush(sox_format_t * ft, adpcm_io_t * state) in lsx_adpcm_flush()
317 int lsx_adpcm_stopwrite(sox_format_t * ft, adpcm_io_t * state) in lsx_adpcm_stopwrite()
H A Dima-fmt.c30 lsx_rawseek, write_encodings, NULL, sizeof(adpcm_io_t) in LSX_FORMAT_HANDLER()
H A Dvox-fmt.c30 lsx_rawseek, write_encodings, NULL, sizeof(adpcm_io_t) in LSX_FORMAT_HANDLER()
H A Dprc.c65 adpcm_io_t adpcm;