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

WaveOut Class Reference

Inheritance diagram for WaveOut:

Inheritance graph
[legend]
Collaboration diagram for WaveOut:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Member Functions

void UnprepareHeader (int index)
void UnprepareHeaders ()

Private Attributes

BOOL ready
HWAVEOUT hWaveOut
char wave_buffer [BUFFER_SIZE]
WAVEHDR wave_header [SCREEN_FREQ]
int last_unprepared

Constructor & Destructor Documentation

WaveOut::WaveOut  ) 
 

Definition at line 380 of file SID_WIN32.i.

References hWaveOut, last_unprepared, memset, ready, and wave_header.

WaveOut::~WaveOut  ) 
 

Definition at line 405 of file SID_WIN32.i.

References hWaveOut, and UnprepareHeaders().


Member Function Documentation

int WaveOut::GetCurrentPosition  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 417 of file SID_WIN32.i.

References BUFFER_SIZE, hWaveOut, and memset.

void WaveOut::Pause  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 479 of file SID_WIN32.i.

References hWaveOut.

BOOL WaveOut::Ready  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 412 of file SID_WIN32.i.

References BOOL, and ready.

void WaveOut::Resume  )  [virtual]
 

Implements DigitalPlayer.

Definition at line 484 of file SID_WIN32.i.

References hWaveOut.

void WaveOut::UnprepareHeader int  index  )  [private]
 

Definition at line 489 of file SID_WIN32.i.

References hWaveOut, memset, and wave_header.

Referenced by UnprepareHeaders(), and Write().

void WaveOut::UnprepareHeaders  )  [private]
 

Definition at line 500 of file SID_WIN32.i.

References BUFFER_FRAGS, UnprepareHeader(), and wave_header.

Referenced by ~WaveOut().

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

Implements DigitalPlayer.

Definition at line 431 of file SID_WIN32.i.

References BUFFER_FRAGS, FRAGMENT_SIZE, hWaveOut, last_unprepared, memcpy, UnprepareHeader(), wave_buffer, and wave_header.


Member Data Documentation

HWAVEOUT WaveOut::hWaveOut [private]
 

Definition at line 76 of file SID_WIN32.i.

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

int WaveOut::last_unprepared [private]
 

Definition at line 79 of file SID_WIN32.i.

Referenced by WaveOut(), and Write().

BOOL WaveOut::ready [private]
 

Definition at line 75 of file SID_WIN32.i.

Referenced by Ready(), and WaveOut().

char WaveOut::wave_buffer[BUFFER_SIZE] [private]
 

Definition at line 77 of file SID_WIN32.i.

Referenced by Write().

WAVEHDR WaveOut::wave_header[SCREEN_FREQ] [private]
 

Definition at line 78 of file SID_WIN32.i.

Referenced by UnprepareHeader(), UnprepareHeaders(), WaveOut(), and Write().


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