From 8082fdd4162fdb4418237ba6500495f4deb34c66 Mon Sep 17 00:00:00 2001 From: Stefan Nuernberger Date: Wed, 20 May 2015 17:26:02 +0200 Subject: [PATCH] modplugSet channel count and other track info on open --- src/soundsourcemodplug.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soundsourcemodplug.cpp b/src/soundsourcemodplug.cpp index 598ccb4cdeb..9d485d1c761 100644 --- a/src/soundsourcemodplug.cpp +++ b/src/soundsourcemodplug.cpp @@ -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)