Mercurial > mplayer.hg
diff libaf/af_karaoke.c @ 19194:5949a654e2d4
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
author | reynaldo |
---|---|
date | Thu, 27 Jul 2006 17:35:06 +0000 |
parents | de155823ef82 |
children | ff3ed01e9043 |
line wrap: on
line diff
--- a/libaf/af_karaoke.c Thu Jul 27 10:52:40 2006 +0000 +++ b/libaf/af_karaoke.c Thu Jul 27 17:35:06 2006 +0000 @@ -23,7 +23,7 @@ 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 = 4; + af->data->bps = 8; return af_test_output(af,(af_data_t*)arg); } return AF_UNKNOWN; @@ -41,7 +41,7 @@ { af_data_t* c = data; // Current working data float* a = c->audio; // Audio data - int len = c->len/4; // Number of samples in current audio block + int len = c->len/8; // Number of samples in current audio block int nch = c->nch; // Number of channels register int i;