diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 15:33:50 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 11:39:34 +0300 |
commit | ce78081a7f61fed79281fa252da6f29d9f1030dc (patch) | |
tree | d07c8d9eed074a2c41898eb9cd28ed8f960e1171 /src/audio/sampman.h | |
parent | 6c2d179aadd9e54afc010c7f8b79d663017d168c (diff) |
Put more things under ifdef
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r-- | src/audio/sampman.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h index 2c64fdef..16e1a1bb 100644 --- a/src/audio/sampman.h +++ b/src/audio/sampman.h @@ -144,7 +144,8 @@ public: cSampleManager(void); ~cSampleManager(void); - + +#ifdef EXTERNAL_3D_SOUND void SetSpeakerConfig(int32 nConfig); uint32 GetMaximumSupportedChannels(void); @@ -156,6 +157,7 @@ public: int8 GetCurrent3DProviderIndex(void); int8 SetCurrent3DProvider(uint8 which); +#endif bool8 IsMP3RadioChannelAvailable(void); @@ -195,9 +197,11 @@ public: void SetChannelReverbFlag (uint32 nChannel, bool8 nReverbFlag); bool8 InitialiseChannel (uint32 nChannel, uint32 nSfx, uint8 nBank); +#ifdef EXTERNAL_3D_SOUND void SetChannelEmittingVolume(uint32 nChannel, uint32 nVolume); void SetChannel3DPosition (uint32 nChannel, float fX, float fY, float fZ); void SetChannel3DDistances (uint32 nChannel, float fMax, float fMin); +#endif void SetChannelVolume (uint32 nChannel, uint32 nVolume); void SetChannelPan (uint32 nChannel, uint32 nPan); void SetChannelFrequency (uint32 nChannel, uint32 nFreq); |