comparison libaf/af_pan.c @ 14245:815f03b7cee5

removing AFMT_ dependancy
author alex
date Mon, 27 Dec 2004 17:30:15 +0000
parents 14090f7300a8
children 95bb94a930a3
comparison
equal deleted inserted replaced
14244:9b03ad0254ae 14245:815f03b7cee5
35 case AF_CONTROL_REINIT: 35 case AF_CONTROL_REINIT:
36 // Sanity check 36 // Sanity check
37 if(!arg) return AF_ERROR; 37 if(!arg) return AF_ERROR;
38 38
39 af->data->rate = ((af_data_t*)arg)->rate; 39 af->data->rate = ((af_data_t*)arg)->rate;
40 af->data->format = AF_FORMAT_F | AF_FORMAT_NE; 40 af->data->format = AF_FORMAT_FLOAT_NE;
41 af->data->bps = 4; 41 af->data->bps = 4;
42 af->mul.n = af->data->nch; 42 af->mul.n = af->data->nch;
43 af->mul.d = ((af_data_t*)arg)->nch; 43 af->mul.d = ((af_data_t*)arg)->nch;
44 44
45 if((af->data->format != ((af_data_t*)arg)->format) || 45 if((af->data->format != ((af_data_t*)arg)->format) ||