Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
// EAXBuffer.h: interface for the CEAXBuffer class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_EAXBUFFER_H__6BCC188D_ED42_4499_B923_4B61AA73B318__INCLUDED_)
|
|
#define AFX_EAXBUFFER_H__6BCC188D_ED42_4499_B923_4B61AA73B318__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "dsound.h"
|
|
#include "eax.h"
|
|
|
|
class CEAXBuffer
|
|
{
|
|
private:
|
|
IKsPropertySet* m_pPropertySet;
|
|
EAXBUFFERPROPERTIES m_Props;
|
|
|
|
public:
|
|
CEAXBuffer();
|
|
virtual ~CEAXBuffer();
|
|
|
|
bool Create( IUnknown* pUnknown );
|
|
void Destroy();
|
|
void SetDirect(int iDirect);
|
|
void SetDirectHF(int iDirectHF);
|
|
void SetRoom(int iRoom);
|
|
void SetRoomHF(int iRoomHF);
|
|
void SetRoomRolloffFactor(float fRoomRolloffFactor);
|
|
void SetObstruction(int iObstruction);
|
|
void SetObstructionLFRatio(float fObstructionLFRatio);
|
|
void SetOcclusion(int iOcclusion);
|
|
void SetOcclusionLFRatio(float fOcclusionLFRatio);
|
|
void SetOcclusionRoomRatio(float fOcclusionRoomRatio);
|
|
void SetOutsideVolumeHF(int iOutsideVolumeHF);
|
|
void SetAirAbsorptionFactor(float fAirAbsorptionFactor);
|
|
void SetFlags(DWORD dwFlags);
|
|
void SetProperties(const EAXBUFFERPROPERTIES& props);
|
|
void GetProperties(EAXBUFFERPROPERTIES& props);
|
|
};
|
|
|
|
#endif // !defined(AFX_EAXBUFFER_H__6BCC188D_ED42_4499_B923_4B61AA73B318__INCLUDED_)
|