comparison libmpcodecs/ad_msadpcm.c @ 5481:8ae2bf330ad5

control() done
author arpi
date Wed, 03 Apr 2002 21:37:26 +0000
parents b3d1348b251f
children 7745d73a5f20
comparison
equal deleted inserted replaced
5480:df12f6eb80e3 5481:8ae2bf330ad5
83 83
84 static void uninit(sh_audio_t *sh_audio) 84 static void uninit(sh_audio_t *sh_audio)
85 { 85 {
86 } 86 }
87 87
88 static int control(sh_audio_t *sh,int cmd,void* arg, ...) 88 static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
89 { 89 {
90 // TODO!!! 90 if(cmd==ADCTRL_SKIP_FRAME){
91 demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->ds->ss_mul);
92 return CONTROL_TRUE;
93 }
91 return CONTROL_UNKNOWN; 94 return CONTROL_UNKNOWN;
92 } 95 }
93 96
94 static int ms_adpcm_decode_block(unsigned short *output, unsigned char *input, 97 static int ms_adpcm_decode_block(unsigned short *output, unsigned char *input,
95 int channels, int block_size) 98 int channels, int block_size)