Mercurial > audlegacy-plugins
diff src/modplug/modplugbmp.h @ 1539:488f7e6c36ed
Tuple builder for modplug. Someone do me a favour and fix getinfo to do something like the one in console.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Thu, 30 Aug 2007 23:38:01 +0100 |
parents | 195b5657303e |
children | 58f03e54b97a |
line wrap: on
line diff
--- a/src/modplug/modplugbmp.h Thu Aug 30 18:55:36 2007 +0200 +++ b/src/modplug/modplugbmp.h Thu Aug 30 23:38:01 2007 +0100 @@ -14,7 +14,11 @@ #include "stddefs.h" #endif +extern "C" { #include "audacious/plugin.h" +#include "audacious/tuple.h" +#include "audacious/tuple_formatter.h" +} /* Module files have their magic deep inside the file, at offset 1080; source: http://www.onicos.com/staff/iz/formats/mod.html and information by Michael Doering from UADE */ #define MOD_MAGIC_PROTRACKER4 (unsigned char [4]) { 0x4D, 0x2E, 0x4B, 0x2E } // "M.K." - Protracker 4 channel @@ -96,6 +100,7 @@ float32 GetTime(); // Get the current play time. void GetSongInfo(const string& aFilename, char*& aTitle, int32& aLength); // Function to grab the title string + Tuple* GetSongTuple(const string& aFilename); void SetInputPlugin(InputPlugin& aInPlugin); void SetOutputPlugin(OutputPlugin& aOutPlugin);