re3-wiiu/src/audio/SampleManager.h

37 lines
744 B
C
Raw Normal View History

2019-06-16 00:20:55 +02:00
#pragma once
2019-07-02 20:35:47 +02:00
struct tSample {
int m_nOffset;
unsigned int m_nSize;
int m_nFrequency;
int m_nLoopStart;
int m_nLoopEnd;
};
2019-06-16 00:20:55 +02:00
2019-07-02 20:35:47 +02:00
class CSampleManager
{
2019-06-16 00:20:55 +02:00
public:
2019-06-30 23:58:24 +02:00
void ReleaseDigitalHandle();
2019-07-01 00:07:58 +02:00
void RequireDigitalHandle();
2019-07-02 20:35:47 +02:00
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 StopChannel(int32 id);
static bool IsMP3RadioChannelAvailable();
2019-06-16 00:20:55 +02:00
};
2019-07-02 20:35:47 +02:00
extern uint32 &nNumOfMp3Files;
extern uint8 &num3DProvidersAvailable;
extern uint32* asName3DProviders;
2019-06-16 00:20:55 +02:00
extern CSampleManager &cSampleManager;