Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

DirectSound Class Reference

Inheritance diagram for DirectSound:

Inheritance graph
[legend]
Collaboration diagram for DirectSound:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DirectSound ()
 ~DirectSound ()
BOOL Ready ()
int GetCurrentPosition ()
void Write (void *buffer, int position, int length)
void Pause ()
void Resume ()

Private Attributes

BOOL ready
LPDIRECTSOUND pDS
LPDIRECTSOUNDBUFFER pPrimaryBuffer
LPDIRECTSOUNDBUFFER pSoundBuffer

Constructor & Destructor Documentation

DirectSound::DirectSound  ) 
 

Definition at line 223 of file SID_WIN32.i.

References BUFFER_SIZE, DSBCAPS_GETCURRENTPOSITION2, DWORD, hwnd, memset, pDS, pPrimaryBuffer, pSoundBuffer, ready, and ThePrefs.

DirectSound::~DirectSound  ) 
 

Definition at line 293 of file SID_WIN32.i.

References pDS, pPrimaryBuffer, and pSoundBuffer.


Member Function Documentation

int DirectSound::GetCurrentPosition  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 314 of file SID_WIN32.i.

References DWORD, and pSoundBuffer.

void DirectSound::Pause  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 358 of file SID_WIN32.i.

References pPrimaryBuffer, and pSoundBuffer.

BOOL DirectSound::Ready  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 309 of file SID_WIN32.i.

References BOOL, and ready.

void DirectSound::Resume  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 368 of file SID_WIN32.i.

References pPrimaryBuffer, and pSoundBuffer.

void DirectSound::Write void *  buffer,
int  position,
int  length
[virtual]
 

Implements DigitalPlayer.

Definition at line 325 of file SID_WIN32.i.

References DWORD, memcpy, and pSoundBuffer.


Member Data Documentation

LPDIRECTSOUND DirectSound::pDS [private]
 

Definition at line 54 of file SID_WIN32.i.

Referenced by DirectSound(), and ~DirectSound().

LPDIRECTSOUNDBUFFER DirectSound::pPrimaryBuffer [private]
 

Definition at line 55 of file SID_WIN32.i.

Referenced by DirectSound(), Pause(), Resume(), and ~DirectSound().

LPDIRECTSOUNDBUFFER DirectSound::pSoundBuffer [private]
 

Definition at line 56 of file SID_WIN32.i.

Referenced by DirectSound(), GetCurrentPosition(), Pause(), Resume(), Write(), and ~DirectSound().

BOOL DirectSound::ready [private]
 

Definition at line 53 of file SID_WIN32.i.

Referenced by DirectSound(), and Ready().


The documentation for this class was generated from the following file:
Generated on Tue Feb 8 04:11:58 2005 for E32frodo by doxygen 1.3.3