Skip to content

Commit

Permalink
Merged revision(s) 22100 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
sagamusix committed Nov 5, 2024
1 parent 901944e commit 7d5f3bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions soundlib/Load_med.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ bool CSoundFile::ReadMED(FileReader &file, ModLoadingFlags loadFlags)
{
sampleIO |= SampleIO::stereoSplit;
length /= 2;
m_SongFlags.reset(SONG_ISAMIGA); // Amiga resampler does not handle stereo samples
}
if(instrHeader.type & MMDInstrHeader::DELTA)
{
Expand Down

0 comments on commit 7d5f3bb

Please sign in to comment.