HostToneGen Class Reference

Host based tone generator implementation. More...

#include <tonegen.h>

Inheritance diagram for HostToneGen:

Inheritance graph
[legend]
Collaboration diagram for HostToneGen:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HostToneGen ()
 Default constructor.
bool MixTone (int16_t *buf, size_t samples)
 Add the next samples of this tone to the signal in buf.

Protected Member Functions

State ImplStart ()
 Called by Start() for implementation specific operations.

Classes

class  Oscillator
 Digital oscillator for a single tone component.


Detailed Description

Host based tone generator implementation.

Member Function Documentation

bool HostToneGen::MixTone ( int16_t *  buf,
size_t  samples 
)

Add the next samples of this tone to the signal in buf.

Parameters:
buf A buffer of 16bit linear audio data to add this tone to.
samples The number of tone samples to place in buf.
Returns:
true if the tone generator is not IDLE, else false.


Generated on Fri Jan 4 13:16:26 2008 for libvpb by  doxygen 1.5.4