forked from cafeberry/cafeberry
feat(Windows64): miniaudio
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#pragma once
|
||||
#ifdef _WINDOWS64
|
||||
#include "Common/Audio/Miniaudio_SoundEngine.h"
|
||||
#else
|
||||
class Mob;
|
||||
class Options;
|
||||
using namespace std;
|
||||
@@ -126,14 +129,25 @@ private:
|
||||
|
||||
int GetRandomishTrack(int iStart,int iEnd);
|
||||
|
||||
#ifndef _WINDOWS64
|
||||
HMSOUNDBANK m_hBank;
|
||||
HDIGDRIVER m_hDriver;
|
||||
HSTREAM m_hStream;
|
||||
#endif
|
||||
|
||||
#ifdef _WINDOWS64
|
||||
public:
|
||||
static char m_szSoundPath[];
|
||||
static char m_szMusicPath[];
|
||||
static char m_szRedistName[];
|
||||
static char *m_szStreamFileA[eStream_Max];
|
||||
private:
|
||||
#else
|
||||
static char m_szSoundPath[];
|
||||
static char m_szMusicPath[];
|
||||
static char m_szRedistName[];
|
||||
static char *m_szStreamFileA[eStream_Max];
|
||||
#endif
|
||||
|
||||
AUDIO_LISTENER m_ListenerA[MAX_LOCAL_PLAYERS];
|
||||
int m_validListenerCount;
|
||||
@@ -166,3 +180,4 @@ private:
|
||||
int32_t m_hBGMAudio;
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user