audiere::PinkNoise Class Reference

Inheritance diagram for audiere::PinkNoise:

Inheritance graph
[legend]
Collaboration diagram for audiere::PinkNoise:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PinkNoise ()
void getFormat (int &channel_count, int &sample_rate, SampleFormat &sample_format)
int doRead (int frame_count, void *buffer)
void reset ()

Detailed Description

Definition at line 44 of file noise.cpp.


Constructor & Destructor Documentation

audiere::PinkNoise::PinkNoise  )  [inline]
 

Definition at line 46 of file noise.cpp.


Member Function Documentation

int audiere::PinkNoise::doRead int  frame_count,
void *  buffer
[inline, virtual]
 

Implement this method in subclasses.

Implements audiere::BasicSource.

Definition at line 60 of file noise.cpp.

void audiere::PinkNoise::getFormat int &  channel_count,
int &  sample_rate,
SampleFormat sample_format
[inline, virtual]
 

Retrieve the number of channels, sample rate, and sample format of the sample source.

Implements audiere::SampleSource.

Definition at line 50 of file noise.cpp.

References audiere::SF_S16.

void audiere::PinkNoise::reset  )  [inline, virtual]
 

Reset the sample source. This has the same effect as setPosition(0) on a seekable source. On an unseekable source, it resets all internal state to the way it was when the source was first created.

Implements audiere::SampleSource.

Definition at line 68 of file noise.cpp.


The documentation for this class was generated from the following file:
Generated on Mon Feb 13 23:09:32 2006 for audiere by  doxygen 1.4.6