Mercurial > audlegacy
diff Plugins/Input/wma/wma.c @ 351:c6e9eb0ee70b trunk
[svn] filterchain stuff
author | nenolod |
---|---|
date | Mon, 26 Dec 2005 13:56:03 -0800 |
parents | edc22c4569ad |
children | f13ab2d8e9cf |
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);