summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_null.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 15:04:25 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 15:04:25 +0200
commit4141caa4d6e078fe1abbf87d8ab011c7c0705ffa (patch)
tree03b52846a966f00edf3a818da81eb0fb67c71372 /src/audio/sampman_null.cpp
parentMerge remote-tracking branch 'aap/lcs' into lcs (diff)
parentFix sampman_null (diff)
downloadre3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.gz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.bz2
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.lz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.xz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.zst
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.zip
Diffstat (limited to 'src/audio/sampman_null.cpp')
-rw-r--r--src/audio/sampman_null.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/sampman_null.cpp b/src/audio/sampman_null.cpp
index af4c54ad..627d122b 100644
--- a/src/audio/sampman_null.cpp
+++ b/src/audio/sampman_null.cpp
@@ -19,6 +19,7 @@ cSampleManager::~cSampleManager(void)
}
+#ifdef EXTERNAL_3D_SOUND
void cSampleManager::SetSpeakerConfig(int32 nConfig)
{
@@ -59,6 +60,7 @@ int8 cSampleManager::SetCurrent3DProvider(uint8 nProvider)
{
return 0;
}
+#endif
bool8
cSampleManager::IsMP3RadioChannelAvailable(void)
@@ -228,6 +230,7 @@ cSampleManager::InitialiseChannel(uint32 nChannel, uint32 nSfx, uint8 nBank)
return FALSE;
}
+#ifdef EXTERNAL_3D_SOUND
void
cSampleManager::SetChannelEmittingVolume(uint32 nChannel, uint32 nVolume)
{
@@ -248,6 +251,7 @@ cSampleManager::SetChannel3DDistances(uint32 nChannel, float fMax, float fMin)
ASSERT( nChannel < MAXCHANNELS );
ASSERT( nChannel < MAXCHANNELS+MAX2DCHANNELS );
}
+#endif
void
cSampleManager::SetChannelVolume(uint32 nChannel, uint32 nVolume)