comparison libaf/af_sweep.c @ 14245:815f03b7cee5

removing AFMT_ dependancy
author alex
date Mon, 27 Dec 2004 17:30:15 +0000
parents 3c56b18bbb0c
children a9da2db9eb16
comparison
equal deleted inserted replaced
14244:9b03ad0254ae 14245:815f03b7cee5
23 af_data_t *data= (af_data_t*)arg; 23 af_data_t *data= (af_data_t*)arg;
24 24
25 switch(cmd){ 25 switch(cmd){
26 case AF_CONTROL_REINIT: 26 case AF_CONTROL_REINIT:
27 af->data->nch = data->nch; 27 af->data->nch = data->nch;
28 af->data->format = AF_FORMAT_SI | AF_FORMAT_NE; 28 af->data->format = AF_FORMAT_S16_NE;
29 af->data->bps = 2; 29 af->data->bps = 2;
30 af->data->rate = data->rate; 30 af->data->rate = data->rate;
31 31
32 return AF_OK; 32 return AF_OK;
33 case AF_CONTROL_COMMAND_LINE: 33 case AF_CONTROL_COMMAND_LINE: