changeset 427:f61e69a1a376 trunk

[svn] That removed so much that it does not play anymore. Add a line of code back.
author chainsaw
date Sat, 14 Jan 2006 05:40:19 -0800
parents 3181b4fe23ea
children 15ca2ea93a30
files Plugins/Input/wma/wma.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/wma/wma.c	Sat Jan 14 00:02:06 2006 -0800
+++ b/Plugins/Input/wma/wma.c	Sat Jan 14 05:40:19 2006 -0800
@@ -78,7 +78,6 @@
 static int wma_get_time(void);
 static void wma_get_song_info(char *filename, char **title, int *length);
 static void wma_file_info_box(char *filename); 
-static void wma_set_eq(int q_on, float q_preamp, float *q_bands);
 static char *wsong_title;
 static int wsong_time;
 
@@ -299,6 +298,7 @@
     fifo_write(&f, wma_outbuf, out_size, &f.wptr);
     while(!fifo_read(&f, wma_s_outbuf, wma_st_buff, &f.rptr) && wma_decode)
     {
+	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);
 	produce_audio(wma_ip.output->written_time(), FMT_S16_NE,