changeset 347:2dd23cdf6c4b trunk

[svn] Use the audacious filterchain for musepack. (I'm not removing the equalizer, because it looks like a better equalizer than the one we have right now.)
author nenolod
date Mon, 26 Dec 2005 13:14:23 -0800
parents 430658951e30
children f74bdb82f0a0
files Plugins/Input/musepack/libmpc.cpp
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/musepack/libmpc.cpp	Mon Dec 26 13:09:53 2005 -0800
+++ b/Plugins/Input/musepack/libmpc.cpp	Mon Dec 26 13:14:23 2005 -0800
@@ -772,13 +772,7 @@
         track.bitrate = static_cast<int> (vbrUpd * track.sampleFreq / 1152);
     }
 
-    if (pluginConfig.isEq)
-    {
-        iir(xmmsBuffer, 4 * status);
-    }
-
-    MpcPlugin.add_vis_pcm(MpcPlugin.output->written_time(), FMT_S16_LE, track.channels, status * 4, xmmsBuffer);
-    MpcPlugin.output->write_audio(xmmsBuffer, status * 4);
+    produce_audio(MpcPlugin.output->written_time(), FMT_S16_LE, track.channels, status * 4, xmmsBuffer, NULL);
     return status;
 }