|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | VOICE_CAPTURE_DEFAULT_SAMPLE_RATE_HZ (16000U) |
| #define | VOICE_CAPTURE_SAMPLES_PER_CHUNK (1600U) |
Functions | |
| int | voice_capture_start (const char *id, uint32_t sample_rate_hz) |
| Start a (stub) capture; emits one second of silence synchronously — the caller blocks. | |
| void | voice_capture_stop (void) |
| Idempotent stop; emits a final "final":true chunk if a capture is active. | |
| bool | voice_capture_is_running (void) |
| True iff a capture is running; the mic-button label and start guard. No caller anywhere. | |
| #define VOICE_CAPTURE_DEFAULT_SAMPLE_RATE_HZ (16000U) |
| #define VOICE_CAPTURE_SAMPLES_PER_CHUNK (1600U) |