|
Agents 1.4.0
Edge AI Agents SDK
|
VoicePipeline class for push-to-talk speech-to-text. More...
#include <stt_pipeline.h>
Public Member Functions | |
| VoicePipeline (const VoiceConfig &cfg, const VoiceCallbacks &cb) | |
| Construct a new Voice Pipeline object. | |
| ~VoicePipeline () | |
| Destroy the Voice Pipeline object. | |
| bool | start () |
| Start the voice pipeline. | |
| void | stop () |
| Stop the voice pipeline. | |
| void | beginPTT () |
| Begin push-to-talk session. | |
| void | endPTT () |
| End push-to-talk session. | |
| bool | is_running () const |
| Check if the pipeline is running. | |
VoicePipeline class for push-to-talk speech-to-text.
|
inline |
Construct a new Voice Pipeline object.
| cfg | voice configuration |
| cb | callbacks for voice events |
|
inline |
Check if the pipeline is running.
| bool agents::VoicePipeline::start | ( | ) |
Start the voice pipeline.