sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxWave Struct Reference

Decoded mono WAVE file content. More...

#include <c-api.h>

Public Attributes

const float * samples
 
int32_t sample_rate
 
int32_t num_samples
 

Detailed Description

Free this object with SherpaOnnxFreeWave().

Definition at line 2802 of file c-api.h.

Member Data Documentation

◆ num_samples

int32_t SherpaOnnxWave::num_samples

Number of samples.

Definition at line 2808 of file c-api.h.

◆ sample_rate

int32_t SherpaOnnxWave::sample_rate

Sample rate in Hz.

Definition at line 2806 of file c-api.h.

◆ samples

const float* SherpaOnnxWave::samples

Samples normalized to the range [-1, 1].

Definition at line 2804 of file c-api.h.


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