Mercurial > audlegacy
changeset 519:88e9a6a8336f trunk
[svn] whoever wrote output_to_audio() was a crackhead.
author | nenolod |
---|---|
date | Thu, 26 Jan 2006 15:21:09 -0800 |
parents | 6c28a04d1254 |
children | 1cf60c54c22d |
files | audacious/output.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 */ }