summaryrefslogtreecommitdiffstats
path: root/src/audio/SampleManager.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-07-08 21:44:32 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-07-19 16:22:46 +0200
commita04d8f24be355b69bbba88b50055f2b1420fc29f (patch)
tree9bf1455e1cbb4f403dcf9ee9a4c16b52d610a108 /src/audio/SampleManager.h
parentfixed dodo bug (diff)
downloadre3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.gz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.bz2
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.lz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.xz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.zst
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.zip
Diffstat (limited to '')
-rw-r--r--src/audio/SampleManager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio/SampleManager.h b/src/audio/SampleManager.h
index f0245d4e..8db6c7d2 100644
--- a/src/audio/SampleManager.h
+++ b/src/audio/SampleManager.h
@@ -1,5 +1,7 @@
#pragma once
+#include "common.h"
+
struct tSample {
int m_nOffset;
unsigned int m_nSize;
@@ -11,6 +13,12 @@ struct tSample {
class CSampleManager
{
public:
+ bool CheckForAnAudioFileOnCD();
+
+ int32 GetSampleBaseFrequency(int32);
+ int32 GetSampleLoopStartOffset(int32);
+ int32 GetSampleLoopEndOffset(int32);
+
bool IsSampleBankLoaded(uint8);
void UnloadSampleBank(uint8);
void Terminate();