Author: sagamusix
Date: Sat Jun 22 23:00:03 2024
New Revision: 21053
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21053
Log:
[Fix] CBA: It would be really useful to actually use the header channel panning table instead of leftover debug code...
Modified:
trunk/OpenMPT/soundlib/Load_cba.cpp
Modified: trunk/OpenMPT/soundlib/Load_cba.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Load_cba.cpp Sat Jun 22 21:10:12 2024 (r21052)
+++ trunk/OpenMPT/soundlib/Load_cba.cpp Sat Jun 22 23:00:03 2024 (r21053)
@@ -2,7 +2,7 @@
* Load_cba.cpp
* ------------
* Purpose: Chuck Biscuits / Black Artist (CBA) module loader
- * Notes : This format appears to have been only used for the Expoze musicdisk by Heretics.
+ * Notes : This format appears to have been used only for the Expoze musicdisk by Heretics.
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
@@ -106,7 +106,7 @@
for(CHANNELINDEX chn = 0; chn < GetNumChannels(); chn++)
{
- ChnSettings[chn].nPan = (chn % 2u) ? 208 : 48;
+ ChnSettings[chn].nPan = fileHeader.panPos[chn] * 2;
}
for(SAMPLEINDEX smp = 1; smp <= m_nSamples; smp++)
|