# HG changeset patch # User nenolod # Date 1138317669 28800 # Node ID 88e9a6a8336fa3529303718193404fe7112b9a6b # Parent 6c28a04d12548373c9ee4588ec2bc5017e4058a5 [svn] whoever wrote output_to_audio() was a crackhead. diff -r 6c28a04d1254 -r 88e9a6a8336f audacious/output.c --- a/audacious/output.c Thu Jan 26 11:44:29 2006 -0800 +++ b/audacious/output.c Thu Jan 26 15:21:09 2006 -0800 @@ -210,7 +210,7 @@ } /* do vis plugin(s) */ - input_add_vis_pcm(time, format, nch, length, sample); + input_add_vis_pcm(time, fmt, nch, length, ptr); while (op->buffer_free() < length) { /* wait output buf */ if (going && !*going) /* thread stopped? */ @@ -219,5 +219,5 @@ g_usleep(10000); /* else sleep for retry */ } - op->write_audio(sample, length); /* do output */ + op->write_audio(ptr, length); /* do output */ }