Mercurial > audlegacy
comparison src/audacious/plugin.h @ 4375:b095d631bec4
Added a short explanation for the freq_data argument in VisPlugin.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Fri, 28 Mar 2008 02:19:37 +0200 |
| parents | 6a87d1c1da32 |
| children | db1c0a24e100 |
comparison
equal
deleted
inserted
replaced
| 4373:20c70e3a8272 | 4375:b095d631bec4 |
|---|---|
| 1185 | 1185 |
| 1186 void (*disable_plugin) (struct _VisPlugin *); | 1186 void (*disable_plugin) (struct _VisPlugin *); |
| 1187 void (*playback_start) (void); | 1187 void (*playback_start) (void); |
| 1188 void (*playback_stop) (void); | 1188 void (*playback_stop) (void); |
| 1189 void (*render_pcm) (gint16 pcm_data[2][512]); | 1189 void (*render_pcm) (gint16 pcm_data[2][512]); |
| 1190 | |
| 1191 /* The range of intensities is 0 - 32767 (though theoretically it is | |
| 1192 * possible for the FFT to result in bigger values, making the final | |
| 1193 * intensity negative due to overflowing the 16bit signed integer.) | |
| 1194 * | |
| 1195 * If output is mono, only freq_data[0] is filled. | |
| 1196 */ | |
| 1190 void (*render_freq) (gint16 freq_data[2][256]); | 1197 void (*render_freq) (gint16 freq_data[2][256]); |
| 1191 }; | 1198 }; |
| 1192 | 1199 |
| 1193 struct _DiscoveryPlugin { | 1200 struct _DiscoveryPlugin { |
| 1194 PLUGIN_COMMON_FIELDS | 1201 PLUGIN_COMMON_FIELDS |
