summaryrefslogtreecommitdiffstats
path: root/src/audio/SampleManager.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-02 23:09:37 +0200
committerGitHub <noreply@github.com>2019-08-02 23:09:37 +0200
commita890a8a3b45c74c1e29bb4c9aba650752c39c5d9 (patch)
treed41bb0d3b3f434ff8d4d3e4f12746451ae03083b /src/audio/SampleManager.h
parentsome CPed cleanup (diff)
parentMerge branch 'master' of github.com:Fire-Head/re3 (diff)
downloadre3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar.gz
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar.bz2
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar.lz
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar.xz
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.tar.zst
re3-a890a8a3b45c74c1e29bb4c9aba650752c39c5d9.zip
Diffstat (limited to 'src/audio/SampleManager.h')
-rw-r--r--src/audio/SampleManager.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/audio/SampleManager.h b/src/audio/SampleManager.h
deleted file mode 100644
index dc46e7ec..00000000
--- a/src/audio/SampleManager.h
+++ /dev/null
@@ -1,68 +0,0 @@
-#pragma once
-
-#include "common.h"
-
-struct tSample {
- int m_nOffset;
- unsigned int m_nSize;
- int m_nFrequency;
- int m_nLoopStart;
- int m_nLoopEnd;
-};
-
-class CSampleManager
-{
-public:
- void SetChannelFrequency(int32, int32);
- void SetChannelEmittingVolume(int32, uint32);
- void SetChannel3DPosition(int32, float, float, float);
- void SetChannelLoopCount(int32, int32);
-
- void SetChannel3DDistances(int32, int32, int32);
- void SetChannelReverbFlag(int32, uint8);
-
- int32 GetSampleLength(int32);
-
- bool InitialiseChannel(int32, int32, uint32, uint32 something = 0);
-
- void SetChannelLoopPoints(int32, int32, int32);
-
- bool CheckForAnAudioFileOnCD();
-
- int32 GetSampleBaseFrequency(int32);
- int32 GetSampleLoopStartOffset(int32);
- int32 GetSampleLoopEndOffset(int32);
-
- bool IsSampleBankLoaded(uint8);
- void UnloadSampleBank(uint8);
- void Terminate();
-
- bool Initialise();
- int32 GetActiveSamples();
-
- void ReleaseDigitalHandle();
- void RequireDigitalHandle();
-
- char AutoDetect3DProviders();
- uint8 GetCDAudioDriveLetter();
-
- void SetEffectsMasterVolume(uint8 volume);
- void SetMusicMasterVolume(uint8 volume);
- void SetEffectsFadeVol(uint8 volume);
- void SetMusicFadeVol(uint8 volume);
-
- void SetSpeakerConfig(uint32 config);
-
- bool GetChannelUsedFlag(int32 id);
-
- void StartChannel(int32 id);
- void StopChannel(int32 id);
-
- static bool IsMP3RadioChannelAvailable();
-};
-
-extern uint32 &nNumOfMp3Files;
-extern uint8 &num3DProvidersAvailable;
-extern char **asName3DProviders;
-
-extern CSampleManager &cSampleManager; \ No newline at end of file