changeset 328:7888e5d973b9

Minor cleanups
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Jan 2005 06:30:03 +0000
parents e33c23075473
children 8fadb3f38445
files src/xmms-sid.h src/xs_about.c src/xs_filter.c src/xs_filter.h
diffstat 4 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <glib.h>
 #include <pthread.h>
-#include <xmms/plugin.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+#include <xmms/plugin.h>
+
 /*
  * Some constants and defines
  */
--- 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"
--- 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;
--- 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
 }