|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::CSoundDriverDSound Class Reference#include <sound_driver_dsound.h>
Inheritance diagram for NLSOUND::CSoundDriverDSound:
List of all members.
Constructor & Destructor Documentation
NLSOUND::CSoundDriverDSound::CSoundDriverDSound |
( |
|
) |
|
|
NLSOUND::CSoundDriverDSound::~CSoundDriverDSound |
( |
|
) |
[virtual] |
|
NLSOUND::CSoundDriverDSound::CBufferDSound::~CBufferDSound |
( |
|
) |
[private] |
|
NLSOUND::CSoundDriverDSound::CSourceDSound::~CSourceDSound |
( |
|
) |
[private] |
|
Member Function Documentation
void NLSOUND::CSoundDriverDSound::commit3DChanges |
( |
|
) |
[virtual] |
|
uint NLSOUND::CSoundDriverDSound::countHw2DBuffers |
( |
|
) |
|
|
uint NLSOUND::CSoundDriverDSound::countHw3DBuffers |
( |
|
) |
|
|
uint NLSOUND::CSoundDriverDSound::countMaxSources |
( |
|
) |
[virtual] |
|
uint NLSOUND::CSoundDriverDSound::countPlayingSources |
( |
|
) |
|
|
IBuffer * NLSOUND::CSoundDriverDSound::createBuffer |
( |
|
) |
[virtual] |
|
IListener * NLSOUND::CSoundDriverDSound::createListener |
( |
|
) |
[virtual] |
|
ISource * NLSOUND::CSoundDriverDSound::createSource |
( |
|
) |
[virtual] |
|
float NLSOUND::CSoundDriverDSound::getGain |
( |
|
) |
|
|
bool NLSOUND::CSoundDriverDSound::init |
( |
HWND |
wnd |
) |
[virtual] |
|
|
Initialization.
Definition at line 252 of file sound_driver_dsound.cpp.
References _Caps, _DirectSound, _PrimaryBuffer, _TimerID, _TimerPeriod, _TimerResolution, countHw2DBuffers, countHw3DBuffers, NLSOUND::CSoundDriverDSoundEnumCallback, format, nldebug, and nlwarning. |
CSoundDriverDSound* NLSOUND::CSoundDriverDSound::instance |
( |
|
) |
[inline, static] |
|
bool NLSOUND::CSoundDriverDSound::loadWavFile |
( |
IBuffer * |
destbuffer, |
|
|
const char * |
filename |
|
) |
[virtual] |
|
void NLSOUND::CSoundDriverDSound::removeBuffer |
( |
IBuffer * |
buffer |
) |
[private, virtual] |
|
void NLSOUND::CSoundDriverDSound::removeSource |
( |
ISource * |
source |
) |
[private, virtual] |
|
void NLSOUND::CSoundDriverDSound::setGain |
( |
float |
gain |
) |
|
|
|
Set the gain (volume value inside [0 , 1]).
(default: 1) 0.0 -> silence 0.5 -> -6dB 1.0 -> no attenuation values > 1 (amplification) not supported by most drivers
Definition at line 700 of file sound_driver_dsound.cpp.
References _PrimaryBuffer, and nldebug. |
void CALLBACK NLSOUND::CSoundDriverDSound::TimerCallback |
( |
UINT |
uID, |
|
|
UINT |
uMsg, |
|
|
DWORD |
dwUser, |
|
|
DWORD |
dw1, |
|
|
DWORD |
dw2 |
|
) |
[static, private] |
|
void NLSOUND::CSoundDriverDSound::update |
( |
|
) |
|
|
void NLSOUND::CSoundDriverDSound::writeProfile |
( |
std::ostream & |
out |
) |
[virtual] |
|
Member Data Documentation
DSCAPS NLSOUND::CSoundDriverDSound::_Caps [private]
|
|
LPDIRECTSOUND NLSOUND::CSoundDriverDSound::_DirectSound [private]
|
|
CSoundDriverDSound * NLSOUND::CSoundDriverDSound::_Instance = NULL [static, private]
|
|
LPDIRECTSOUNDBUFFER NLSOUND::CSoundDriverDSound::_PrimaryBuffer [private]
|
|
uint NLSOUND::CSoundDriverDSound::_SourceCount [private]
|
|
std::set<CSourceDSound*> NLSOUND::CSoundDriverDSound::_Sources [private]
|
|
UINT NLSOUND::CSoundDriverDSound::_TimerID [private]
|
|
uint32 NLSOUND::CSoundDriverDSound::_TimerPeriod = 100 [static, private]
|
|
uint32 NLSOUND::CSoundDriverDSound::_TimerResolution [private]
|
|
The documentation for this class was generated from the following files:
|
|