KSound Class Reference

Inheritance diagram for KSound:
[legend]
Collaboration diagram for KSound:
[legend]
List of all members.

Public Member Functions

 KSound (HINSTANCE hInstance, HWND hWnd)
 ~KSound ()
bool Init ()
bool End ()
bool Play (KTRACK TrackId, bool bLooping=false)
bool Stop (KTRACK TrackId)
KTRACK LoadTrack (KStr &sFileName, KSTRACKTYPE TrackType=KSTT_SOUND)
bool UnloadTrack (KTRACK &Track)
bool PlayStreamTrack (KSTREAMTRACK TrackId, bool bFadeIn=false, KTIME FadeTime=KSTREAMTRACK_FADE_TIME)
bool StopStreamTrack (KSTREAMTRACK TrackId, bool bFadeOut=false, KTIME FadeTime=KSTREAMTRACK_FADE_TIME)
bool ProcessStreamTrack ()
KSTREAMTRACK LoadStreamTrack (KStr &sFileName)
bool UnloadStreamTrack (KSTREAMTRACK &Track)
KStreamTrackBankLockStreamTrackBank ()
void UnlockStreamTrackBank (KStreamTrackBank **pStreamTrackBank)
IDirectSound8 * GetDirectSound ()
void SetPosition (KVector &Position)
void SetOrientation (KVector &Front, KVector &Top)
void SetPosition (KTRACK TrackId, KVector &Position)
void SetDistance (KTRACK TrackId, float Min, float Max)
void Manage3DSound (KVector &Position, KVector &Front, KVector &Top)
void SetVolume (float Volume)
float GetVolume ()

Protected Member Functions

virtual u32 ThreadProc ()

Protected Attributes

HINSTANCE m_hInstance
HWND m_hWnd
IDirectSound8 * m_pDS
IDirectSoundBuffer * m_pDSPrimary
IDirectSound3DListener8 * m_pDSL
KTrackBankm_pTrackBank
KStreamTrackBankm_pStreamTrackBank
KMutex m_StreamTrackBankMutex
float m_fVolume

Detailed Description

Definition at line 28 of file SoundDS.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:41 2007 for Zythum Project by  doxygen 1.5.1-p1