# HG changeset patch # User Matti Hamalainen # Date 1103999163 0 # Node ID d5c79d5a0b6003c02216bef71a4e50e620662dc1 # Parent f0ece2d2009467db7e8b6ae19bf60de7a82515e9 gint -> AFormat diff -r f0ece2d20094 -r d5c79d5a0b60 src/xmms-sid.h --- a/src/xmms-sid.h Sat Dec 25 18:25:05 2004 +0000 +++ b/src/xmms-sid.h Sat Dec 25 18:26:03 2004 +0000 @@ -150,10 +150,10 @@ typedef struct t_xs_status { gint audioFrequency, /* Audio settings */ - audioFormat, audioChannels, audioBitsPerSample, oversampleFactor; /* Factor of oversampling */ + AFormat audioFormat; gboolean oversampleEnable; /* TRUE after sidEngine initialization, if xs_cfg.oversampleEnable == TRUE and emulation backend supports oversampling. @@ -191,7 +191,7 @@ void xs_about(void); -gint xs_rateconv_filter(void *, void *, gint, gint, gint); +gint xs_rateconv_filter(void *, void *, AFormat, gint, gint); t_xs_tuneinfo *xs_tuneinfo_new(gchar *, gint, gint, gchar *, gchar *, gchar *, gint, gint, gint, gint); void xs_tuneinfo_free(t_xs_tuneinfo *); diff -r f0ece2d20094 -r d5c79d5a0b60 src/xs_filter.c --- a/src/xs_filter.c Sat Dec 25 18:25:05 2004 +0000 +++ b/src/xs_filter.c Sat Dec 25 18:26:03 2004 +0000 @@ -35,7 +35,7 @@ *(dp_ ## T ## P ++) = tmpo_ ## T; \ } -gint xs_rateconv_filter(void *destBuf, void *srcBuf, gint audioFormat, gint oversampleFactor, gint dataSize) +gint xs_rateconv_filter(void *destBuf, void *srcBuf, AFormat audioFormat, gint oversampleFactor, gint dataSize) { guint32 tmp_u, tmpo_u; gint32 tmp_s, tmpo_s;