Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Mixer Class Reference

#include <mixer.hpp>

Inheritance diagram for Mixer:

Inheritance graph
[legend]
Collaboration diagram for Mixer:

Collaboration graph
[legend]
List of all members.

Public Methods

 Mixer ()
 ~Mixer ()
void GetFormat (int &channel_count, int &sample_rate, int &bits_per_sample)
int Read (int sample_count, void *samples)
bool Reset ()
void AddSource (ISampleSource *source)
void RemoveSource (ISampleSource *source)
bool IsPlaying (ISampleSource *source)
void SetPlaying (ISampleSource *source, bool is_playing)
int GetVolume (ISampleSource *source)
void SetVolume (ISampleSource *source, int volume)

Constructor & Destructor Documentation

Mixer::Mixer ( )
 

Definition at line 10 of file mixer.cpp.

Mixer::~Mixer ( )
 

Definition at line 16 of file mixer.cpp.


Member Function Documentation

void Mixer::AddSource ( ISampleSource * source )
 

Definition at line 98 of file mixer.cpp.

void Mixer::GetFormat ( int & channel_count,
int & sample_rate,
int & bits_per_sample ) [virtual]
 

Reimplemented from ISampleSource.

Definition at line 24 of file mixer.cpp.

int Mixer::GetVolume ( ISampleSource * source )
 

Definition at line 139 of file mixer.cpp.

bool Mixer::IsPlaying ( ISampleSource * source )
 

Definition at line 123 of file mixer.cpp.

int Mixer::Read ( int sample_count,
void * samples ) [virtual]
 

Reimplemented from ISampleSource.

Definition at line 34 of file mixer.cpp.

void Mixer::RemoveSource ( ISampleSource * source )
 

Definition at line 114 of file mixer.cpp.

bool Mixer::Reset ( ) [virtual]
 

Reimplemented from ISampleSource.

Definition at line 90 of file mixer.cpp.

void Mixer::SetPlaying ( ISampleSource * source,
bool is_playing )
 

Definition at line 131 of file mixer.cpp.

void Mixer::SetVolume ( ISampleSource * source,
int volume )
 

Definition at line 147 of file mixer.cpp.


The documentation for this class was generated from the following files:
Generated at Mon Jun 10 02:55:27 2002 for audiere by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001