changeset 107:38b6e3d0afb0 trunk

[svn] Finally! Got the timing working properly on the visualization plugin :)
author nenolod
date Wed, 02 Nov 2005 21:43:28 -0800
parents d2b88d78ccd7
children cde5ca21ddc3
files Plugins/Input/console/Audacious_Driver.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Wed Nov 02 21:26:00 2005 -0800
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Wed Nov 02 21:43:28 2005 -0800
@@ -179,8 +179,8 @@
         while (my_spc->play(4096, buf) == NULL && console_ip_is_going == TRUE)
         {
 		console_ip.add_vis_pcm(console_ip.output->written_time(),
-			MY_FMT, 1, 4096, buf);
-	        while(console_ip.output->buffer_free() < 4096 && console_ip_is_going == TRUE)
+			MY_FMT, 1, 8192, buf);
+	        while(console_ip.output->buffer_free() < 8192)
 			xmms_usleep(10000);
 		console_ip.output->write_audio(buf, 8192);
 	}