changeset 295:d5c79d5a0b60

gint -> AFormat
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Dec 2004 18:26:03 +0000
parents f0ece2d20094
children 4279cc6a3412
files src/xmms-sid.h src/xs_filter.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 *);
 
--- 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;