changeset 350:34bf035e2ed4 trunk

[svn] filterchain stuff
author nenolod
date Mon, 26 Dec 2005 13:54:41 -0800
parents b2335a7ec34a
children c6e9eb0ee70b
files Plugins/Input/sid/xmms-sid.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/sid/xmms-sid.c	Mon Dec 26 13:52:54 2005 -0800
+++ b/Plugins/Input/sid/xmms-sid.c	Mon Dec 26 13:54:41 2005 -0800
@@ -456,8 +456,8 @@
 				audioGot = myStatus.sidPlayer->plrFillBuffer(&myStatus, audioBuffer, XS_AUDIOBUF_SIZE);
 
 			/* I <3 visualice/haujobb */
-			xs_plugin_ip.add_vis_pcm(xs_plugin_ip.output->written_time(),
-						 myStatus.audioFormat, myStatus.audioChannels, audioGot, audioBuffer);
+			produce_audio(xs_plugin_ip.output->written_time(),
+				 myStatus.audioFormat, myStatus.audioChannels, audioGot, audioBuffer, NULL);
 
 			/* Wait a little */
 			while (xs_status.isPlaying &&
@@ -465,10 +465,6 @@
 			       (xs_plugin_ip.output->buffer_free() < audioGot))
 				xmms_usleep(500);
 
-			/* Output audio */
-			if (xs_status.isPlaying && (xs_status.currSong == myStatus.currSong))
-				xs_plugin_ip.output->write_audio(audioBuffer, audioGot);
-
 			/* Check if we have played enough */
 			if (xs_cfg.playMaxTimeEnable) {
 				if (xs_cfg.playMaxTimeUnknown) {