Mercurial > audlegacy
changeset 351:c6e9eb0ee70b trunk
[svn] filterchain stuff
author | nenolod |
---|---|
date | Mon, 26 Dec 2005 13:56:03 -0800 |
parents | 34bf035e2ed4 |
children | f13ab2d8e9cf |
files | Plugins/Input/wma/wma.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/wma/wma.c Mon Dec 26 13:54:41 2005 -0800 +++ b/Plugins/Input/wma/wma.c Mon Dec 26 13:56:03 2005 -0800 @@ -327,10 +327,8 @@ sst_buff = wma_st_buff; if(wma_pause) memset(wma_s_outbuf, 0, sst_buff); while(wma_ip.output->buffer_free() < wma_st_buff) xmms_usleep(20000); - if(wma_seekpos == -1) - wma_ip.add_vis_pcm(wma_ip.output->written_time(), FMT_S16_NE, - c->channels, sst_buff, (short *)wma_s_outbuf); - wma_ip.output->write_audio((short *)wma_s_outbuf, sst_buff); + produce_audio(wma_ip.output->written_time(), FMT_S16_NE, + c->channels, sst_buff, (short *)wma_s_outbuf, NULL); memset(wma_s_outbuf, 0, sst_buff); } fifo_free(&f);