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

Denoised audio returned by offline or online speech enhancement APIs. More...

#include <c-api.h>

Public Attributes

const float * samples
 
int32_t n
 
int32_t sample_rate
 

Detailed Description

Free this object with SherpaOnnxDestroyDenoisedAudio().

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

Member Data Documentation

◆ n

int32_t SherpaOnnxDenoisedAudio::n

Number of output samples.

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

◆ sample_rate

int32_t SherpaOnnxDenoisedAudio::sample_rate

Output sample rate in Hz.

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

◆ samples

const float* SherpaOnnxDenoisedAudio::samples

Output samples in the range [-1, 1].

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


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