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 4692 of file c-api.h.

Member Data Documentation

◆ n

int32_t SherpaOnnxDenoisedAudio::n

Number of output samples.

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

◆ sample_rate

int32_t SherpaOnnxDenoisedAudio::sample_rate

Output sample rate in Hz.

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

◆ samples

const float* SherpaOnnxDenoisedAudio::samples

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

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


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