Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
1538:da1aa3c38cda | 1539:488f7e6c36ed |
---|---|
12 | 12 |
13 #ifndef __MODPLUGXMMS_STDDEFS_H__INCLUDED__ | 13 #ifndef __MODPLUGXMMS_STDDEFS_H__INCLUDED__ |
14 #include "stddefs.h" | 14 #include "stddefs.h" |
15 #endif | 15 #endif |
16 | 16 |
17 extern "C" { | |
17 #include "audacious/plugin.h" | 18 #include "audacious/plugin.h" |
19 #include "audacious/tuple.h" | |
20 #include "audacious/tuple_formatter.h" | |
21 } | |
18 | 22 |
19 /* 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 */ | 23 /* 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 */ |
20 #define MOD_MAGIC_PROTRACKER4 (unsigned char [4]) { 0x4D, 0x2E, 0x4B, 0x2E } // "M.K." - Protracker 4 channel | 24 #define MOD_MAGIC_PROTRACKER4 (unsigned char [4]) { 0x4D, 0x2E, 0x4B, 0x2E } // "M.K." - Protracker 4 channel |
21 #define MOD_MAGIC_PROTRACKER4X (unsigned char [4]) { 0x4D, 0x21, 0x4B, 0x21 } // "M!K!" - Protracker 4 channel | 25 #define MOD_MAGIC_PROTRACKER4X (unsigned char [4]) { 0x4D, 0x21, 0x4B, 0x21 } // "M!K!" - Protracker 4 channel |
22 #define MOD_MAGIC_NOISETRACKER (unsigned char [4]) { 0x4D, 0x26, 0x4B, 0x21 } // "M&K!" - Noisetracker 1.3 by Kaktus & Mahoney | 26 #define MOD_MAGIC_NOISETRACKER (unsigned char [4]) { 0x4D, 0x26, 0x4B, 0x21 } // "M&K!" - Noisetracker 1.3 by Kaktus & Mahoney |
94 | 98 |
95 void Seek(float32 aTime); // Seek to the specified time. | 99 void Seek(float32 aTime); // Seek to the specified time. |
96 float32 GetTime(); // Get the current play time. | 100 float32 GetTime(); // Get the current play time. |
97 | 101 |
98 void GetSongInfo(const string& aFilename, char*& aTitle, int32& aLength); // Function to grab the title string | 102 void GetSongInfo(const string& aFilename, char*& aTitle, int32& aLength); // Function to grab the title string |
103 Tuple* GetSongTuple(const string& aFilename); | |
99 | 104 |
100 void SetInputPlugin(InputPlugin& aInPlugin); | 105 void SetInputPlugin(InputPlugin& aInPlugin); |
101 void SetOutputPlugin(OutputPlugin& aOutPlugin); | 106 void SetOutputPlugin(OutputPlugin& aOutPlugin); |
102 | 107 |
103 const Settings& GetModProps(); | 108 const Settings& GetModProps(); |