diff options
author | Adam Gashlin <agashlin@gmail.com> | 2007-01-25 18:06:17 +0000 |
---|---|---|
committer | Adam Gashlin <agashlin@gmail.com> | 2007-01-25 18:06:17 +0000 |
commit | 5d20c9d1216f1ccce1921884bfa4c0737a6f69ee (patch) | |
tree | 00b7db687a040a03db99bf983c148bb1ff69bc2e /firmware | |
parent | 2e020e6e1e12dc471c99399cdbc85006b482f6be (diff) | |
download | rockbox-5d20c9d1216f1ccce1921884bfa4c0737a6f69ee.tar.gz rockbox-5d20c9d1216f1ccce1921884bfa4c0737a6f69ee.zip |
adding NSF (NES music) codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/id3.h | 1 | ||||
-rw-r--r-- | firmware/id3.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 23f554df44..74b49635ba 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h | |||
@@ -47,6 +47,7 @@ enum | |||
47 | AFMT_SHN, /* Shorten */ | 47 | AFMT_SHN, /* Shorten */ |
48 | AFMT_SID, /* SID File Format */ | 48 | AFMT_SID, /* SID File Format */ |
49 | AFMT_ADX, /* ADX File Format */ | 49 | AFMT_ADX, /* ADX File Format */ |
50 | AFMT_NSF, /* NESM (NES Sound Format) */ | ||
50 | #endif | 51 | #endif |
51 | 52 | ||
52 | /* add new formats at any index above this line to have a sensible order - | 53 | /* add new formats at any index above this line to have a sensible order - |
diff --git a/firmware/id3.c b/firmware/id3.c index 3445bc2af1..4276db6027 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -98,6 +98,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] = | |||
98 | /* ADX File Format */ | 98 | /* ADX File Format */ |
99 | [AFMT_ADX] = | 99 | [AFMT_ADX] = |
100 | AFMT_ENTRY("ADX", "adx", NULL, "adx\0" ), | 100 | AFMT_ENTRY("ADX", "adx", NULL, "adx\0" ), |
101 | /* NESM (NES Sound Format) */ | ||
102 | [AFMT_NSF] = | ||
103 | AFMT_ENTRY("NSF", "nsf", NULL, "nsf\0nsfe\0" ), | ||
101 | #endif | 104 | #endif |
102 | }; | 105 | }; |
103 | 106 | ||