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.

Classes

class  Oscillator
 Digital oscillator for a single tone component.

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.


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 Tue Jan 13 04:20:35 2009 for libvpb by  doxygen 1.5.8