Mercurial > audlegacy
diff src/audacious/plugin.h @ 4235:2d4b4f13d10d
set_replaygain_info added to PAPI
| author | Eugene Zagidullin <e.asphyx@gmail.com> |
|---|---|
| date | Thu, 31 Jan 2008 14:15:12 +0300 |
| parents | 704607c1f858 |
| children | 8f6956130372 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Thu Jan 31 12:04:13 2008 +0300 +++ b/src/audacious/plugin.h Thu Jan 31 14:15:12 2008 +0300 @@ -112,6 +112,13 @@ InputPlugin *ip; } ProbeResult; +typedef struct { + gfloat track_gain; /* in dB !!! --asphyx */ + gfloat track_peak; + gfloat album_gain; + gfloat album_peak; +} ReplayGainInfo; + typedef GHashTable INIFile; #include "audacious/playlist.h" @@ -1071,6 +1078,9 @@ void (*set_title) (InputPlayback *, gchar * text); void (*pass_audio) (InputPlayback *, AFormat, gint, gint, gpointer, gint *); + + /* added in Audacious 1.5 */ + void (*set_replaygain_info) (InputPlayback *, ReplayGainInfo *); /* called by input plugin when RG info available --asphyx */ }; struct _InputPlugin {
