fix wrong and unrelated change done in r19199

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19204 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reynaldo 2006-07-27 18:35:40 +00:00
parent 641a36aa80
commit 6a7db58a9d
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
af->data->rate = ((af_data_t*)arg)->rate;
af->data->nch = ((af_data_t*)arg)->nch;
af->data->format= AF_FORMAT_FLOAT_NE;
af->data->bps = 8;
af->data->bps = 4;
return af_test_output(af,(af_data_t*)arg);
}
return AF_UNKNOWN;
@ -41,7 +41,7 @@ static af_data_t* play(struct af_instance_s* af, af_data_t* data)
{
af_data_t* c = data; // Current working data
float* a = c->audio; // Audio data
int len = c->len/8; // Number of samples in current audio block
int len = c->len/4; // Number of samples in current audio block
int nch = c->nch; // Number of channels
register int i;