mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 11:02:45 -05:00
Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29813 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a912a99259
commit
9af2ca7340
1 changed files with 23 additions and 23 deletions
|
|
@ -50,38 +50,38 @@ bool get_mod_metadata(int fd, struct mp3entry* id3)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
/* Mod type checking based on MikMod */
|
/* Mod type checking based on MikMod */
|
||||||
/* Protracker and variants */
|
/* Protracker and variants */
|
||||||
if ((!memcmp(id, "M.K.", 4)) || (!memcmp(id, "M!K!", 4))) {
|
if ((!memcmp(id, "M.K.", 4)) || (!memcmp(id, "M!K!", 4))) {
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Star Tracker */
|
/* Star Tracker */
|
||||||
if (((!memcmp(id, "FLT", 3)) || (!memcmp(id, "EXO", 3))) &&
|
if (((!memcmp(id, "FLT", 3)) || (!memcmp(id, "EXO", 3))) &&
|
||||||
(isdigit(id[3]))) {
|
(isdigit(id[3]))) {
|
||||||
char numchn = id[3] - '0';
|
char numchn = id[3] - '0';
|
||||||
if (numchn == 4 || numchn == 8)
|
if (numchn == 4 || numchn == 8)
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Oktalyzer (Amiga) */
|
/* Oktalyzer (Amiga) */
|
||||||
if (!memcmp(id, "OKTA", 4)) {
|
if (!memcmp(id, "OKTA", 4)) {
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Oktalyser (Atari) */
|
/* Oktalyser (Atari) */
|
||||||
if (!memcmp(id, "CD81", 4)) {
|
if (!memcmp(id, "CD81", 4)) {
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fasttracker */
|
/* Fasttracker */
|
||||||
if ((!memcmp(id + 1, "CHN", 3)) && (isdigit(id[0]))) {
|
if ((!memcmp(id + 1, "CHN", 3)) && (isdigit(id[0]))) {
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
/* Fasttracker or Taketracker */
|
/* Fasttracker or Taketracker */
|
||||||
if (((!memcmp(id + 2, "CH", 2)) || (!memcmp(id + 2, "CN", 2)))
|
if (((!memcmp(id + 2, "CH", 2)) || (!memcmp(id + 2, "CN", 2)))
|
||||||
&& (isdigit(id[0])) && (isdigit(id[1]))) {
|
&& (isdigit(id[0])) && (isdigit(id[1]))) {
|
||||||
is_mod_file = true;
|
is_mod_file = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't try to play if we can't find a known mod type
|
/* Don't try to play if we can't find a known mod type
|
||||||
* (there are mod files which have nothing to do with music) */
|
* (there are mod files which have nothing to do with music) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue