Mercurial > audlegacy
diff Plugins/Input/sid/xmms-sid.c @ 350:34bf035e2ed4 trunk
[svn] filterchain stuff
author | nenolod |
---|---|
date | Mon, 26 Dec 2005 13:54:41 -0800 |
parents | d0e9693d2115 |
children | f13ab2d8e9cf |
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) {