Debian Codegraph @

src/constants.h

raw symbols SCIP
1 /*
2 constants.h : spctag library constants definition
3 v0.2 - 2011-09-18
4
5 Copyright (C) 2011 Jérôme SONRIER <[email protected]g>
6
7 This file is part of libspctag.
8
9 libspctag is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 libspctag is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with libspctag. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23
24 // SCP file header
25 #define SPCTAG_FILE_HEADER "SNES-SPC700 Sound File Data"
26 #define SPCTAG_FILE_HEADER_LENGTH 27
27
28 // Tags starts at offset 46
29 #define SPCTAG_TAGS_START 46
30
31 // Tags are in text format if the 19 byte at offset 158 are all only text characteres
32 #define SPCTAG_TEST_START 158
33 #define SPCTAG_TEST_LENGTH 19
34
35 // File contains ID666 information if byte at offset 35 = 26
36 #define SPCTAG_HAS_TAGS 35
37 #define SPCTAG_TAGS_PRESENTS 26