diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 13:57:16 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 13:57:16 +0200 |
commit | 92c5cf1877484eb209379da252766d1e9e1c8950 (patch) | |
tree | 6ce87dead9991c4106ba23dc94284661906665df /src/audio/sampman.h | |
parent | Waypoint text fix (diff) | |
download | re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.gz re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.bz2 re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.lz re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.xz re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.zst re3-92c5cf1877484eb209379da252766d1e9e1c8950.zip |
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r-- | src/audio/sampman.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h index 9b21ddb3..3af2c51f 100644 --- a/src/audio/sampman.h +++ b/src/audio/sampman.h @@ -116,9 +116,15 @@ enum #define MAXPROVIDERS 64 +#ifdef EXTERNAL_3D_SOUND #define MAXCHANNELS (NUM_CHANNELS_GENERIC+1) #define MAXCHANNELS_SURROUND (MAXCHANNELS-4) #define MAX2DCHANNELS 1 +#else +#define MAXCHANNELS 0 +#define MAXCHANNELS_SURROUND 0 +#define MAX2DCHANNELS NUM_CHANNELS +#endif #define MAX_STREAMS 3 @@ -158,7 +164,8 @@ public: cSampleManager(void); ~cSampleManager(void); - + +#ifdef EXTERNAL_3D_SOUND void SetSpeakerConfig(int32 nConfig); uint32 GetMaximumSupportedChannels(void); @@ -172,7 +179,8 @@ public: int8 SetCurrent3DProvider(uint8 which); int8 AutoDetect3DProviders(); - +#endif + bool8 IsMP3RadioChannelAvailable(void); void ReleaseDigitalHandle (void); @@ -212,9 +220,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); |