Mercurial > otakunoraifu
comparison music2/koedec.cc @ 43:01aa5ddf7dc8
A lot of very minor improvements (deleted some unused variables, and other things like that...)
author | thib |
---|---|
date | Tue, 24 Mar 2009 19:45:48 +0000 |
parents | c9e218c2c3f1 |
children | 53a311ea8289 |
comparison
equal
deleted
inserted
replaced
42:039d813d4cef | 43:01aa5ddf7dc8 |
---|---|
166 } | 166 } |
167 | 167 |
168 AvgKoeHead::AvgKoeHead(FILE* _s, int _file_number, KoeType _type) { | 168 AvgKoeHead::AvgKoeHead(FILE* _s, int _file_number, KoeType _type) { |
169 char head[0x20]; | 169 char head[0x20]; |
170 stream = _s; file_number = _file_number; | 170 stream = _s; file_number = _file_number; |
171 int offset = ftell(stream); | 171 //int offset = ftell(stream); |
172 rate = 22050; | 172 rate = 22050; |
173 type = _type; | 173 type = _type; |
174 if (stream == 0) return; | 174 if (stream == 0) return; |
175 /* header 読み込み */ | 175 /* header 読み込み */ |
176 if (type == koe_nwk) { // 新しい形式 : .nwk file | 176 if (type == koe_nwk) { // 新しい形式 : .nwk file |