Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
Resampler Struct Reference

Resampler. More...

#include <utils/resampler.h>

Data Fields

void * priv
 Private data.
 
double input_rate
 
double output_rate
 
unsigned int num_channels
 
const float * in_frames
 Given input (interleaved) frames .
 
size_t num_in_frames
 Number of frames per channel.
 
size_t frames_read
 Number of frames read so far.
 
float * out_frames
 Output (interleaved) frames to be allocated during resampler_new().
 
size_t num_out_frames
 Number of frames per channel.
 
size_t frames_written
 Number of frames written so far.
 
ResamplerQuality quality
 

Detailed Description

Resampler.

This currently only supports 32-bit interleaved floats for input and output.

Definition at line 40 of file resampler.h.

Field Documentation

◆ frames_read

size_t Resampler::frames_read

Number of frames read so far.

Definition at line 56 of file resampler.h.

◆ frames_written

size_t Resampler::frames_written

Number of frames written so far.

Definition at line 66 of file resampler.h.

◆ in_frames

const float* Resampler::in_frames

Given input (interleaved) frames .

Definition at line 50 of file resampler.h.

◆ input_rate

double Resampler::input_rate

Definition at line 45 of file resampler.h.

◆ num_channels

unsigned int Resampler::num_channels

Definition at line 47 of file resampler.h.

◆ num_in_frames

size_t Resampler::num_in_frames

Number of frames per channel.

Definition at line 53 of file resampler.h.

◆ num_out_frames

size_t Resampler::num_out_frames

Number of frames per channel.

Definition at line 63 of file resampler.h.

◆ out_frames

float* Resampler::out_frames

Output (interleaved) frames to be allocated during resampler_new().

Definition at line 60 of file resampler.h.

◆ output_rate

double Resampler::output_rate

Definition at line 46 of file resampler.h.

◆ priv

void* Resampler::priv

Private data.

Definition at line 43 of file resampler.h.

◆ quality

ResamplerQuality Resampler::quality

Definition at line 68 of file resampler.h.


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