Decoded multi-channel WAVE file content.
More...
#include <c-api.h>
Free this object with SherpaOnnxFreeMultiChannelWave().
Definition at line 2851 of file c-api.h.
◆ num_channels
| int32_t SherpaOnnxMultiChannelWave::num_channels |
Number of channels.
Definition at line 2858 of file c-api.h.
◆ num_samples
| int32_t SherpaOnnxMultiChannelWave::num_samples |
Number of samples per channel.
Definition at line 2860 of file c-api.h.
◆ sample_rate
| int32_t SherpaOnnxMultiChannelWave::sample_rate |
Sample rate in Hz.
Definition at line 2862 of file c-api.h.
◆ samples
| const float* const* SherpaOnnxMultiChannelWave::samples |
samples[c] points to channel c samples normalized to [-1, 1]. Note: The sample data for all channels are stored in a single contiguous memory block, one channel after another.
Definition at line 2856 of file c-api.h.
The documentation for this struct was generated from the following file: