summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_miles.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio/sampman_miles.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp
index b115654a..606b6cf4 100644
--- a/src/audio/sampman_miles.cpp
+++ b/src/audio/sampman_miles.cpp
@@ -1695,6 +1695,8 @@ cSampleManager::SetChannelReverbFlag(uint32 nChannel, uint8 nReverbFlag)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1724,6 +1726,8 @@ cSampleManager::InitialiseChannel(uint32 nChannel, uint32 nSfx, uint8 nBank)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1824,6 +1828,8 @@ cSampleManager::SetChannelVolume(uint32 nChannel, uint32 nVolume)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
nChannelVolume[nChannel] = vol;
@@ -1851,6 +1857,8 @@ cSampleManager::SetChannelPan(uint32 nChannel, uint32 nPan)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
#ifndef FIX_BUGS
if ( opened_samples[nChannel - MAXCHANNELS] ) // BUG
@@ -1872,6 +1880,8 @@ cSampleManager::SetChannelFrequency(uint32 nChannel, uint32 nFreq)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1898,6 +1908,8 @@ cSampleManager::SetChannelLoopPoints(uint32 nChannel, uint32 nLoopStart, int32 n
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1924,6 +1936,8 @@ cSampleManager::SetChannelLoopCount(uint32 nChannel, uint32 nLoopCount)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1950,6 +1964,8 @@ cSampleManager::GetChannelUsedFlag(uint32 nChannel)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -1981,6 +1997,8 @@ cSampleManager::StartChannel(uint32 nChannel)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;
@@ -2007,6 +2025,8 @@ cSampleManager::StopChannel(uint32 nChannel)
switch ( nChannel )
{
case CHANNEL2D:
+ case CHANNEL2D+1:
+ case CHANNEL2D+2:
{
b2d = true;
break;