Skip to content

Commit 7d5f3bb

Browse files
committed
Merged revision(s) 22100 from trunk/OpenMPT:
[Fix] MED: Don't enable Amiga resampler if any stereo samples are found. Fixes silent playback with samples that contain identical but inverted sample data on both channels (https://www.un4seen.com/forum/?topic=15448.msg144058#msg144058). ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22102 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 901944e commit 7d5f3bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soundlib/Load_med.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ bool CSoundFile::ReadMED(FileReader &file, ModLoadingFlags loadFlags)
919919
{
920920
sampleIO |= SampleIO::stereoSplit;
921921
length /= 2;
922+
m_SongFlags.reset(SONG_ISAMIGA); // Amiga resampler does not handle stereo samples
922923
}
923924
if(instrHeader.type & MMDInstrHeader::DELTA)
924925
{

0 commit comments

Comments
 (0)