comparison libaf/af_hrtf.c @ 14245:815f03b7cee5

removing AFMT_ dependancy
author alex
date Mon, 27 Dec 2004 17:30:15 +0000
parents 3c56b18bbb0c
children de13fd557440
comparison
equal deleted inserted replaced
14244:9b03ad0254ae 14245:815f03b7cee5
117 } 117 }
118 af->data->nch = ((af_data_t*)arg)->nch; 118 af->data->nch = ((af_data_t*)arg)->nch;
119 if(af->data->nch < 5) { 119 if(af->data->nch < 5) {
120 af->data->nch = 5; 120 af->data->nch = 5;
121 } 121 }
122 af->data->format = AF_FORMAT_SI | AF_FORMAT_NE; 122 af->data->format = AF_FORMAT_S16_NE;
123 af->data->bps = 2; 123 af->data->bps = 2;
124 return af_test_output(af, (af_data_t*)arg); 124 return af_test_output(af, (af_data_t*)arg);
125 case AF_CONTROL_COMMAND_LINE: 125 case AF_CONTROL_COMMAND_LINE:
126 sscanf((char*)arg, "%c", &mode); 126 sscanf((char*)arg, "%c", &mode);
127 switch(mode) { 127 switch(mode) {