libextractor
1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
![]() ![]() |
plugin to support Scream Tracker (S3M) files More...
Go to the source code of this file.
Data Structures | |
struct | header |
Macros | |
#define | MUSPLAYER_FLAG 0x01 |
#define | PLAYSID_FLAG 0x02 |
#define | PAL_FLAG 0x04 |
#define | NTSC_FLAG 0x08 |
#define | MOS6581_FLAG 0x10 |
#define | MOS8580_FLAG 0x20 |
#define | ADD(s, t) |
Typedefs | |
typedef char | sidwrd[2] |
typedef char | sidlongwrd[4] |
Functions | |
static int | sidword (const sidwrd data) |
void | EXTRACTOR_sid_extract_method (struct EXTRACTOR_ExtractContext *ec) |
plugin to support Scream Tracker (S3M) files
Definition in file sid_extractor.c.
#define ADD | ( | s, | |
t | |||
) |
Give metadata to LE; return if 'proc' returns non-zero.
s | metadata value as UTF8 |
t | metadata type to use |
Definition at line 157 of file sid_extractor.c.
#define MOS6581_FLAG 0x10 |
Definition at line 36 of file sid_extractor.c.
#define MOS8580_FLAG 0x20 |
Definition at line 37 of file sid_extractor.c.
#define MUSPLAYER_FLAG 0x01 |
Definition at line 32 of file sid_extractor.c.
#define NTSC_FLAG 0x08 |
Definition at line 35 of file sid_extractor.c.
#define PAL_FLAG 0x04 |
Definition at line 34 of file sid_extractor.c.
#define PLAYSID_FLAG 0x02 |
Definition at line 33 of file sid_extractor.c.
typedef char sidlongwrd[4] |
A "SID long".
Definition at line 47 of file sid_extractor.c.
typedef char sidwrd[2] |
A "SID word".
Definition at line 42 of file sid_extractor.c.
void EXTRACTOR_sid_extract_method | ( | struct EXTRACTOR_ExtractContext * | ec | ) |
Extract metadata from SID files.
ec | extraction context |
Definition at line 170 of file sid_extractor.c.
References ADD, header::artist, EXTRACTOR_ExtractContext::cls, header::copyright, EXTRACTOR_METATYPE_ALBUM, EXTRACTOR_METATYPE_ARTIST, EXTRACTOR_METATYPE_BROADCAST_TELEVISION_SYSTEM, EXTRACTOR_METATYPE_COPYRIGHT, EXTRACTOR_METATYPE_CREATED_BY_SOFTWARE, EXTRACTOR_METATYPE_FORMAT_VERSION, EXTRACTOR_METATYPE_MIMETYPE, EXTRACTOR_METATYPE_SONG_COUNT, EXTRACTOR_METATYPE_STARTING_SONG, EXTRACTOR_METATYPE_TARGET_ARCHITECTURE, header::firstsong, header::flags, header::magicid, MOS6581_FLAG, MOS8580_FLAG, MUSPLAYER_FLAG, NTSC_FLAG, PAL_FLAG, PLAYSID_FLAG, EXTRACTOR_ExtractContext::read, header::sidversion, sidword(), header::songs, and header::title.
Convert a 'sidword' to an integer.
data | the sidword |
Definition at line 145 of file sid_extractor.c.
Referenced by EXTRACTOR_sid_extract_method().