Audio signal generator for producing test tones and silence. More...
#include <audiogen.h>
Classes | |
| struct | Config |
| Per-channel configuration for the audio generator. More... | |
Public Types | |
| enum | Type { Silence = 0 , Sine } |
| Type of audio signal to generate. More... | |
Public Member Functions | |
| AudioGen (const AudioDesc &desc) | |
| Constructs an audio generator with the given audio description. | |
| Audio | generate (size_t samples) |
| Generates the specified number of audio samples. | |
| const Config & | config (size_t chan) const |
| Returns the configuration for the given channel. | |
| void | setConfig (size_t chan, Config val) |
| Sets the configuration for the given channel. | |
Audio signal generator for producing test tones and silence.