Mercurial > audlegacy
diff src/audacious/plugin.h @ 4596:a77d02342ee1
change visualization timeout; export calc_stereo_pcm, calc_mono_pcm and calc_mono_freq to PAPI
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sat, 31 May 2008 14:17:15 +0200 |
parents | d27f00f6b568 |
children | a2cbde1af409 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Fri May 30 16:05:03 2008 +0200 +++ b/src/audacious/plugin.h Sat May 31 14:17:15 2008 +0200 @@ -645,6 +645,10 @@ void (*event_queue)(const gchar *name, gpointer user_data); + void (*calc_mono_freq)(gint16 dest[2][256], gint16 src[2][512], gint nch); + void (*calc_mono_pcm)(gint16 dest[2][512], gint16 src[2][512], gint nch); + void (*calc_stereo_pcm)(gint16 dest[2][512], gint16 src[2][512], gint nch); + /* VFS endianess helper functions */ gboolean (*vfs_fget_le16)(guint16 *value, VFSFile *stream); gboolean (*vfs_fget_le32)(guint32 *value, VFSFile *stream); @@ -998,6 +1002,10 @@ #define aud_event_queue _audvt->event_queue +#define aud_calc_mono_freq _audvt->calc_mono_freq +#define aud_calc_mono_pcm _audvt->calc_mono_pcm +#define aud_calc_stereo_pcm _audvt->calc_stereo_pcm + #include "audacious/auddrct.h" /* for multi-file plugins :( */