# HG changeset patch # User Matti Hamalainen # Date 1206663577 -7200 # Node ID b095d631bec440a35deba2288e0adaa47287a542 # Parent 20c70e3a8272b2888c65aefc30e86c7d1c826f2c Added a short explanation for the freq_data argument in VisPlugin. diff -r 20c70e3a8272 -r b095d631bec4 src/audacious/plugin.h --- a/src/audacious/plugin.h Tue Mar 25 21:26:45 2008 +0200 +++ b/src/audacious/plugin.h Fri Mar 28 02:19:37 2008 +0200 @@ -1187,6 +1187,13 @@ void (*playback_start) (void); void (*playback_stop) (void); void (*render_pcm) (gint16 pcm_data[2][512]); + + /* The range of intensities is 0 - 32767 (though theoretically it is + * possible for the FFT to result in bigger values, making the final + * intensity negative due to overflowing the 16bit signed integer.) + * + * If output is mono, only freq_data[0] is filled. + */ void (*render_freq) (gint16 freq_data[2][256]); };