# HG changeset patch # User Matti Hamalainen # Date 1106029803 0 # Node ID 7888e5d973b9de26167c32bd15115d034ea03f82 # Parent e33c23075473d0f7cd89383ecc368b60695a7af4 Minor cleanups diff -r e33c23075473 -r 7888e5d973b9 src/xmms-sid.h --- a/src/xmms-sid.h Wed Jan 12 02:30:01 2005 +0000 +++ b/src/xmms-sid.h Tue Jan 18 06:30:03 2005 +0000 @@ -35,12 +35,13 @@ #include #include -#include #ifdef __cplusplus extern "C" { #endif +#include + /* * Some constants and defines */ diff -r e33c23075473 -r 7888e5d973b9 src/xs_about.c --- a/src/xs_about.c Wed Jan 12 02:30:01 2005 +0000 +++ b/src/xs_about.c Tue Jan 18 06:30:03 2005 +0000 @@ -184,7 +184,7 @@ "\tof Freenode.net.\n" "\n" "\tDekadence, PWP, Byterapers,\n" - "\tmfx, Unique, Fairlight, iSO\n" + "\tmfx, Unique, Fairlight, iSO,\n" "\tWrath Designs, Padua, Extend,\n" "\tPHn, Creators, Cosine, tAAt,\n" "\tViruz, Crest and Skalaria.\n" diff -r e33c23075473 -r 7888e5d973b9 src/xs_filter.c --- a/src/xs_filter.c Wed Jan 12 02:30:01 2005 +0000 +++ b/src/xs_filter.c Tue Jan 18 06:30:03 2005 +0000 @@ -36,7 +36,7 @@ *(dp_ ## T ## P ++) = ((g ## K ## int ## P) tmpo) Q ; \ } -gint xs_filter_rateconv(void *destBuf, void *srcBuf, AFormat audioFormat, gint oversampleFactor, gint dataSize) +gint xs_filter_rateconv(void *destBuf, void *srcBuf, const AFormat audioFormat, const gint oversampleFactor, const gint bufSize) { gint32 tmp, tmpo; XS_FVAR(s,8,); @@ -44,6 +44,7 @@ XS_FVAR(s,16,); XS_FVAR(u,16,u); gint i; + gint dataSize = bufSize; if (dataSize <= 0) return dataSize; diff -r e33c23075473 -r 7888e5d973b9 src/xs_filter.h --- a/src/xs_filter.h Wed Jan 12 02:30:01 2005 +0000 +++ b/src/xs_filter.h Tue Jan 18 06:30:03 2005 +0000 @@ -7,11 +7,13 @@ extern "C" { #endif +/* typedef struct { } t_xs_filter; void xs_filter_init(t_xs_filter *); -gint xs_filter_rateconv(t_xs_filter *, void *, void *, AFormat, gint, gint); +*/ +gint xs_filter_rateconv(void *, void *, const AFormat, const gint, const gint); #ifdef __cplusplus }