init member vars in right order

svn-id: r6822
This commit is contained in:
Jonathan Gray 2003-03-17 13:04:54 +00:00
parent 85c9a9c39d
commit b50b353bcf

View File

@ -30,8 +30,8 @@
SmushMixer::SmushMixer(SoundMixer *m) :
_mixer(m),
_soundFrequency(22050),
_nextIndex(_mixer->_beginSlots) {
_nextIndex(_mixer->_beginSlots),
_soundFrequency(22050) {
for(int32 i = _mixer->_beginSlots; i < SoundMixer::NUM_CHANNELS; i++) {
_channels[i].id = -1;
_channels[i].chan = NULL;