removed useless initializations

svn-id: r47153
This commit is contained in:
Vladimir Menshakov 2010-01-08 12:17:41 +00:00
parent 31d830e79d
commit cac3510b67
2 changed files with 1 additions and 9 deletions

View File

@ -79,14 +79,6 @@ bool MusicPlayer::load(int id) {
_rows.clear();
Row row;
row.channels[0].sample = 0;
row.channels[1].sample = 0;
row.channels[2].sample = 0;
row.channels[0].volume = 64;
row.channels[1].volume = 64;
row.channels[2].volume = 64;
while (!stream->eos()) {
byte cmd = stream->readByte();

View File

@ -50,7 +50,7 @@ protected:
byte sample;
byte volume;
byte note;
Channel(): sample(0), volume(0), note(0) {}
Channel(): sample(0), volume(0x40), note(0) {}
} channels[3];
};