# HG changeset patch # User Matti Hamalainen # Date 1105416662 0 # Node ID dd201740a72075d1f8d36586680003dd88376d12 # Parent a84460ae0d626bfe27638ee69143b92badfae835 Changed copyright text. diff -r a84460ae0d62 -r dd201740a720 src/xmms-sid.c --- a/src/xmms-sid.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xmms-sid.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Main source file - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -464,7 +465,7 @@ audioGot /= myStatus.oversampleFactor; /* Execute rate-conversion with filtering */ - if (xs_rateconv_filter(audioBuffer, oversampleBuffer, + if (xs_filter_rateconv(audioBuffer, oversampleBuffer, myStatus.audioFormat, myStatus.oversampleFactor, audioGot) < 0) { diff -r a84460ae0d62 -r dd201740a720 src/xmms-sid.h --- a/src/xmms-sid.h Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xmms-sid.h Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Main header file - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_about.c --- a/src/xs_about.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_about.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Aboutbox dialog - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_config.c --- a/src/xs_config.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_config.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Configuration dialog - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_fileinfo.c --- a/src/xs_fileinfo.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_fileinfo.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ File information window - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_filter.c --- a/src/xs_filter.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_filter.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Audio rate-conversion filter - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +20,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "xmms-sid.h" +#include "xs_filter.h" /* Let's do some preprocessor magic :) */ #define XS_FVAR(T, P, K) g ## K ## int ## P *sp_ ## T ## P , *dp_ ## T ## P @@ -35,7 +36,7 @@ *(dp_ ## T ## P ++) = ((g ## K ## int ## P) tmpo) Q ; \ } -gint xs_rateconv_filter(void *destBuf, void *srcBuf, AFormat audioFormat, gint oversampleFactor, gint dataSize) +gint xs_filter_rateconv(void *destBuf, void *srcBuf, AFormat audioFormat, gint oversampleFactor, gint dataSize) { gint32 tmp, tmpo; XS_FVAR(s,8,); diff -r a84460ae0d62 -r dd201740a720 src/xs_filter.h --- a/src/xs_filter.h Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_filter.h Tue Jan 11 04:11:02 2005 +0000 @@ -7,8 +7,11 @@ extern "C" { #endif -gint xs_rateconv_filter(void *, void *, AFormat, gint, gint); +typedef struct { +} t_xs_filter; +void xs_filter_init(t_xs_filter *); +gint xs_filter_rateconv(t_xs_filter *, void *, void *, AFormat, gint, gint); #ifdef __cplusplus } diff -r a84460ae0d62 -r dd201740a720 src/xs_init.c --- a/src/xs_init.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_init.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Plugin initialization point - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_length.c --- a/src/xs_length.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_length.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Get song length (from database or by other means) - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_sidplay1.cc --- a/src/xs_sidplay1.cc Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_sidplay1.cc Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ libSIDPlay v1 support - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_sidplay2.cc --- a/src/xs_sidplay2.cc Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_sidplay2.cc Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ libSIDPlay v2 support - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_stil.c --- a/src/xs_stil.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_stil.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ STIL-database handling functions - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_support.c --- a/src/xs_support.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_support.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Miscellaneous support functions - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r a84460ae0d62 -r dd201740a720 src/xs_title.c --- a/src/xs_title.c Sat Jan 08 17:07:02 2005 +0000 +++ b/src/xs_title.c Tue Jan 11 04:11:02 2005 +0000 @@ -3,7 +3,8 @@ Titlestring handling - Written by Matti "ccr" Hamalainen + Programmed and designed by Matti 'ccr' Hamalainen + (C) Copyright 1999-2005 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by