summaryrefslogtreecommitdiff
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
parent2c647ef2286b6b8fa0a1edf2d9b18361f5c528de (diff)
ComputeDopplerEffectedFrequency
Diffstat (limited to 'src/audio/SampleManager.h')
-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();