AVA2 cross-platform client parity baseline

This commit is contained in:
shen
2026-10-06 00:53:42 -07:00
commit 9f748eb05a
3271 changed files with 1275528 additions and 0 deletions
@@ -0,0 +1,32 @@
#ifndef __MILESLIB_CSOUNDMANAGERSTREAM_H__
#define __MILESLIB_CSOUNDMANAGERSTREAM_H__
#include "SoundBase.h"
#include "SoundInstance.h"
class CSoundManagerStream : public CSoundBase
{
public:
enum
{
MUSIC_INSTANCE_MAX_NUM = 3,
};
public:
CSoundManagerStream();
virtual ~CSoundManagerStream();
bool Initialize();
void Destroy();
bool SetInstance(DWORD dwIndex, const char* filename);
CSoundInstanceStream * GetInstance(DWORD dwIndex);
protected:
bool CheckInstanceIndex(DWORD dwIndex);
protected:
CSoundInstanceStream m_Instances[MUSIC_INSTANCE_MAX_NUM];
};
#endif