Mercurial > audlegacy
changeset 349:b2335a7ec34a trunk
[svn] filterchain stuff
author | nenolod |
---|---|
date | Mon, 26 Dec 2005 13:52:54 -0800 |
parents | f74bdb82f0a0 |
children | 34bf035e2ed4 |
files | Plugins/Input/console/Audacious_Driver.cpp |
diffstat | 1 files changed, 8 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp Mon Dec 26 13:35:40 2005 -0800 +++ b/Plugins/Input/console/Audacious_Driver.cpp Mon Dec 26 13:52:54 2005 -0800 @@ -408,11 +408,10 @@ if ((console_ip.output->output_time() / 1000) > audcfg.loop_length && audcfg.loop_length != 0) break; - console_ip.add_vis_pcm(console_ip.output->written_time(), - MY_FMT, 1, 2048, buf); + produce_audio(console_ip.output->written_time(), + MY_FMT, 1, 2048, buf, console_ip_is_going); while(console_ip.output->buffer_free() < 2048) xmms_usleep(10000); - console_ip.output->write_audio(buf, 2048); } delete spc; @@ -441,11 +440,10 @@ if ((console_ip.output->output_time() / 1000) > audcfg.loop_length && audcfg.loop_length != 0) break; - console_ip.add_vis_pcm(console_ip.output->written_time(), - MY_FMT, 1, 2048, buf); + produce_audio(console_ip.output->written_time(), + MY_FMT, 1, 2048, buf, console_ip_is_going); while(console_ip.output->buffer_free() < 2048) xmms_usleep(10000); - console_ip.output->write_audio(buf, 2048); } delete nsf; @@ -474,11 +472,10 @@ if ((console_ip.output->output_time() / 1000) > audcfg.loop_length && audcfg.loop_length != 0) break; - console_ip.add_vis_pcm(console_ip.output->written_time(), - MY_FMT, 1, 2048, buf); + produce_audio(console_ip.output->written_time(), + MY_FMT, 1, 2048, buf, console_ip_is_going); while(console_ip.output->buffer_free() < 2048) xmms_usleep(10000); - console_ip.output->write_audio(buf, 2048); } delete gbs; @@ -507,11 +504,10 @@ if ((console_ip.output->output_time() / 1000) > audcfg.loop_length && audcfg.loop_length != 0) break; - console_ip.add_vis_pcm(console_ip.output->written_time(), - MY_FMT, 1, 2048, buf); + produce_audio(console_ip.output->written_time(), + MY_FMT, 1, 2048, buf, console_ip_is_going); while(console_ip.output->buffer_free() < 2048) xmms_usleep(10000); - console_ip.output->write_audio(buf, 2048); } delete gym;