summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-13 02:10:14 +0200
committerGitHub <noreply@github.com>2020-09-13 02:10:14 +0200
commit25a22cc6f25c01c7fc777bc41f632e6237ac8426 (patch)
tree4323944c27801c403fcea94a4fee9913570b172e /src/audio/sampman.h
parentMerge pull request #701 from erorcun/miami (diff)
parentAdd missing file (diff)
downloadre3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.gz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.bz2
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.lz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.xz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.zst
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.zip
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r--src/audio/sampman.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index 773fbda1..a96704a1 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -117,15 +117,19 @@ class cSampleManager
{
uint8 m_nEffectsVolume;
uint8 m_nMusicVolume;
+ uint8 m_nMP3BoostVolume;
uint8 m_nEffectsFadeVolume;
uint8 m_nMusicFadeVolume;
uint8 m_nMonoMode;
- char unk;
char m_szCDRomRootPath[80];
bool m_bInitialised;
uint8 m_nNumberOfProviders;
char *m_aAudioProviders[MAXPROVIDERS];
tSample m_aSamples[TOTAL_AUDIO_SAMPLES];
+ char m_MiscomPath[260];
+ char m_SfxPath[260];
+ char m_StreamedAudioPath[188];
+ void *m_aChannels[18];
public:
@@ -145,6 +149,8 @@ public:
int8 GetCurrent3DProviderIndex(void);
int8 SetCurrent3DProvider(uint8 which);
+
+ int8 AutoDetect3DProviders();
bool IsMP3RadioChannelAvailable(void);
@@ -165,6 +171,7 @@ public:
void SetEffectsMasterVolume(uint8 nVolume);
void SetMusicMasterVolume (uint8 nVolume);
+ void SetMP3BoostVolume (uint8 nVolume);
void SetEffectsFadeVolume (uint8 nVolume);
void SetMusicFadeVolume (uint8 nVolume);
void SetMonoMode (uint8 nMode);
@@ -213,6 +220,9 @@ public:
void Service(void);
#endif
bool InitialiseSampleBanks(void);
+
+ uint8 GetMusicVolume() const { return m_nMusicVolume; }
+ void SetStreamedFileLoopFlag(uint8 nLoopFlag, uint8 nStream);
};
extern cSampleManager SampleManager;