|
libvpb
4.2.54
|
Host based tone generator implementation. More...
#include <tonegen.h>


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. | |
Host based tone generator implementation.
| bool HostToneGen::MixTone | ( | int16_t * | buf, |
| size_t | samples | ||
| ) |
Add the next samples of this tone to the signal in buf.
| buf | A buffer of 16bit linear audio data to add this tone to. |
| samples | The number of tone samples to place in buf. |
true if the tone generator is not IDLE, else false.