ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
dsps_resample_ph_s Struct Reference

Data struct of f32 poly-phase resampler. More...

#include <dsps_resampler.h>

Data Fields

float phase
float step
float delay [4]
int delay_pos

Detailed Description

Data struct of f32 poly-phase resampler.

This structure is used by a poly-phase resampler internally. A user should access this structure only in case of extensions for the DSP Library. To initialize the resampler, use the dsps_resampler_ph_init() function. To execute the resampler, use the dsps_resampler_ph_exec() function.

It is possible to correct the sample rate by adjust the phase parameter "on the fly".

Definition at line 49 of file dsps_resampler.h.

Field Documentation

◆ delay

float dsps_resample_ph_s::delay[4]

Definition at line 52 of file dsps_resampler.h.

Referenced by dsps_resampler_ph_exec(), and dsps_resampler_ph_init().

◆ delay_pos

int dsps_resample_ph_s::delay_pos

Definition at line 53 of file dsps_resampler.h.

Referenced by dsps_resampler_ph_exec(), and dsps_resampler_ph_init().

◆ phase

float dsps_resample_ph_s::phase

Definition at line 50 of file dsps_resampler.h.

Referenced by dsps_resampler_ph_exec(), and dsps_resampler_ph_init().

◆ step

float dsps_resample_ph_s::step

Definition at line 51 of file dsps_resampler.h.

Referenced by dsps_resampler_ph_exec(), and dsps_resampler_ph_init().


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