Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cSoundFileObj Class Reference

#include <cSoundFile.h>

Inheritance diagram for GrayLib::cSoundFileObj:
GrayLib::cSoundFile Gray::cRefBase GrayLib::cSoundObject IUnknown GrayLib::cAVSink

Public Member Functions

 cSoundFileObj (const FILECHAR_t *pszFile)
 
virtual ~cSoundFileObj ()
 
 IUNKNOWN_DISAMBIG (cRefBase)
 
- Public Member Functions inherited from GrayLib::cSoundFile
 cSoundFile (const FILECHAR_t *pszFilePath)
 
virtual ~cSoundFile ()
 
virtual HRESULT LoadResource ()
 
virtual size_t get_WaveDataLength () override
 
virtual const void * get_WaveData () override
 
virtual const cWaveFormatExget_WaveFormat () override
 
 UNITTEST_FRIEND (cSoundFile)
 
- Public Member Functions inherited from GrayLib::cSoundObject
bool isSoundLoaded () const noexcept
 
void UnloadSoundObject ()
 
virtual HRESULT OnHeaderStream (const cAVHeaderStream &head, const void *pForm, size_t nSizeForm) override
 
virtual HRESULT OnFrame (const cAVHeaderFrame &head, const void *pData, size_t nSizeData) override
 
HRESULT LoadSoundMP3 (cStreamInput &stmIn)
 
HRESULT LoadSoundWAV (cStreamInput &stmIn)
 
HRESULT LoadSoundFile (const FILECHAR_t *pszFilePath)
 
- Public Member Functions inherited from GrayLib::cAVSink
virtual ~cAVSink ()
 
virtual HRESULT OnHeaderOpen (const cAVHeader &head)
 
virtual HRESULT OnHeaderClose ()
 
virtual HRESULT OnClose ()
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Additional Inherited Members

- Public Attributes inherited from GrayLib::cSoundFile
cStringF m_sFilePath
 the file that contains the sound data. More...
 
- Public Attributes inherited from GrayLib::cSoundObject
cWaveFormat m_wf
 Sound/Wave format info. More...
 
cHeapBlock m_Data
 Read the full contents into memory as one block. PCM or compressed blocks. More...
 

Detailed Description

cSoundFile with ref count.

Constructor & Destructor Documentation

◆ cSoundFileObj()

GrayLib::cSoundFileObj::cSoundFileObj ( const FILECHAR_t pszFile)
inline

◆ ~cSoundFileObj()

virtual GrayLib::cSoundFileObj::~cSoundFileObj ( )
inlinevirtual

Member Function Documentation

◆ IUNKNOWN_DISAMBIG()

GrayLib::cSoundFileObj::IUNKNOWN_DISAMBIG ( cRefBase  )

The documentation for this class was generated from the following file: