RTS API Documentation  1.10.11
Data Fields
switch_audio_resampler_t Struct Reference

An audio resampling handle. More...

#include <switch_resample.h>

+ Collaboration diagram for switch_audio_resampler_t:

Data Fields

void * resampler
 
int from_rate
 
int to_rate
 
double factor
 
double rfactor
 
int16_t * to
 
uint32_t to_len
 
uint32_t to_size
 
int channels
 

Detailed Description

An audio resampling handle.

Definition at line 56 of file switch_resample.h.

Field Documentation

◆ channels

int switch_audio_resampler_t::channels

◆ factor

double switch_audio_resampler_t::factor

the factor to resample by (from / to)

Definition at line 64 of file switch_resample.h.

Referenced by switch_resample_perform_create().

◆ from_rate

int switch_audio_resampler_t::from_rate

the rate to resample from in hz

Definition at line 60 of file switch_resample.h.

Referenced by switch_core_session_write_frame(), switch_resample_perform_create(), and switch_resample_process().

◆ resampler

void* switch_audio_resampler_t::resampler

a pointer to store the resampler object

Definition at line 58 of file switch_resample.h.

Referenced by switch_resample_perform_create(), and switch_resample_process().

◆ rfactor

double switch_audio_resampler_t::rfactor

Definition at line 65 of file switch_resample.h.

Referenced by switch_resample_perform_create().

◆ to

int16_t* switch_audio_resampler_t::to

◆ to_len

uint32_t switch_audio_resampler_t::to_len

◆ to_rate

int switch_audio_resampler_t::to_rate

◆ to_size

uint32_t switch_audio_resampler_t::to_size

the total size of the to buffer

Definition at line 70 of file switch_resample.h.

Referenced by switch_resample_perform_create(), and switch_resample_process().


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