|
libvpb
4.2.59
|
Tone definition structure. More...
#include <vpbapi.h>

Public Attributes | |
| unsigned short | freq1 |
frequency of first tone in Hz | |
| unsigned short | freq2 |
frequency of second tone in Hz | |
| unsigned short | freq3 |
frequency of third tone in Hz | |
| float | level1 |
first tone level in dB, -inf to 0dB | |
| float | level2 |
second tone level in dB, -inf to 0dB | |
| float | level3 |
third tone level in dB, -inf to 0dB | |
| unsigned long | ton |
on time in ms, if 0 tone is continuous | |
| unsigned long | toff |
off time in ms | |
| VPB_TONE * | next |
| Pointer to the next tone in a sequence. More... | |
Tone definition structure.
This structure is used to define tone data for the programmable tone generator.
For example:
| VPB_TONE* VPB_TONE::next |
Pointer to the next tone in a sequence.
For tone sequences this field should should point to the next tone definition in the sequence. It should be NULL for a single tone and for the last tone in a one-shot sequence of tones. As a special case for the last tone of a sequence, if this field points to the object that contains it then the whole sequence will be continuously repeated until explicitly terminated by the user application.