sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::SpeechSegment Struct Reference

One speech segment produced by the VAD wrapper. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::SpeechSegment:

Public Attributes

int32_t start = 0
 
std::vector< float > samples
 

Detailed Description

Definition at line 1372 of file cxx-api.h.

Member Data Documentation

◆ samples

std::vector<float> sherpa_onnx::cxx::SpeechSegment::samples

Speech samples for the segment.

Definition at line 1376 of file cxx-api.h.

◆ start

int32_t sherpa_onnx::cxx::SpeechSegment::start = 0

Start sample index relative to the processed audio timeline.

Definition at line 1374 of file cxx-api.h.


The documentation for this struct was generated from the following file: