# HG changeset patch # User nenolod # Date 1180347922 25200 # Node ID 49f3d1b43518b59f6f00d69503076124e1e4a47a # Parent 5bd949bbd1c79586ba1ccf09d4fce115af90cb45 [svn] - code cleanups involving SRC patch and indentation diff -r 5bd949bbd1c7 -r 49f3d1b43518 ChangeLog --- a/ChangeLog Mon May 28 03:16:56 2007 -0700 +++ b/ChangeLog Mon May 28 03:25:22 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-28 10:16:56 +0000 William Pitcock + revision [4650] + - remove xmms-like plugin loader + + trunk/src/audacious/pluginenum.c | 14 -------------- + 1 file changed, 14 deletions(-) + + 2007-05-27 21:31:34 +0000 Ralf Ertzinger revision [4648] Move effect plugin handling into the main thread diff -r 5bd949bbd1c7 -r 49f3d1b43518 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Mon May 28 03:16:56 2007 -0700 +++ b/src/audacious/build_stamp.c Mon May 28 03:25:22 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070527-4648"; +const gchar *svn_stamp = "20070528-4650"; diff -r 5bd949bbd1c7 -r 49f3d1b43518 src/audacious/output.c --- a/src/audacious/output.c Mon May 28 03:16:56 2007 -0700 +++ b/src/audacious/output.c Mon May 28 03:25:22 2007 -0700 @@ -192,8 +192,8 @@ for (i = 0; i < 10; ++i) { - set_gain(i, 0, 0.03 * bands[i] + 0.000999999 * bands[i] * bands[i]); - set_gain(i, 1, 0.03 * bands[i] + 0.000999999 * bands[i] * bands[i]); + set_gain(i, 0, 0.03 * bands[i] + 0.000999999 * bands[i] * bands[i]); + set_gain(i, 1, 0.03 * bands[i] + 0.000999999 * bands[i] * bands[i]); } } @@ -227,6 +227,7 @@ } #ifdef USE_SRC + static SRC_STATE *src_state; static SRC_DATA src_data; static int overSamplingFs = 96000; @@ -251,6 +252,7 @@ lengthOfSrcIn = 0; lengthOfSrcOut = 0; } + #endif gint @@ -308,14 +310,14 @@ /* Is our output port already open? */ if ((op_state.rate != 0 && op_state.nch != 0) && - (op_state.rate == rate && op_state.nch == nch && op_state.fmt == fmt)) + (op_state.rate == rate && op_state.nch == nch && op_state.fmt == fmt)) { - /* Yes, and it's the correct sampling rate. Reset the counter and go. */ - op->flush(0); + /* Yes, and it's the correct sampling rate. Reset the counter and go. */ + op->flush(0); return 1; } else if (op_state.rate != 0 && op_state.nch != 0) - op->close_audio(); + op->close_audio(); ret = op->open_audio(fmt, rate, nch); @@ -530,7 +532,7 @@ if (writable > 2048) writable = 2048; - if (writable == 0) + if (writable == 0) return; while (op->buffer_free() < writable) { /* wait output buf */