Skip to content

Commit

Permalink
Merge pull request #589 from snue/patch-1
Browse files Browse the repository at this point in the history
modplug: set channel count and other track info on open
  • Loading branch information
daschuer committed May 20, 2015
2 parents 20ddd8f + 8082fdd commit 3e5eeb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/soundsourcemodplug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ Result SoundSourceModPlug::open() {
setSampleRate(44100); // ModPlug always uses 44.1kHz
m_opened = true;
m_seekPos = 0;
return OK;

// read all other track information
return parseHeader();
}

long SoundSourceModPlug::seek(long filePos)
Expand Down

0 comments on commit 3e5eeb4

Please sign in to comment.