diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 14:33:50 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 10:39:34 +0200 |
commit | ce78081a7f61fed79281fa252da6f29d9f1030dc (patch) | |
tree | d07c8d9eed074a2c41898eb9cd28ed8f960e1171 /src/audio/sampman.h | |
parent | Add define to enable/disable external 3d audio simulation (diff) | |
download | re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.gz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.bz2 re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.lz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.xz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.zst re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.zip |
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); |