FreeSWITCH API Documentation  1.7.0
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 55 of file switch_resample.h.

Field Documentation

int switch_audio_resampler_t::channels

the number of channels

Definition at line 71 of file switch_resample.h.

Referenced by switch_resample_perform_create().

double switch_audio_resampler_t::factor

the factor to resample by (from / to)

Definition at line 63 of file switch_resample.h.

Referenced by switch_resample_perform_create().

int switch_audio_resampler_t::from_rate

the rate to resample from in hz

Definition at line 59 of file switch_resample.h.

Referenced by switch_resample_perform_create().

void* switch_audio_resampler_t::resampler

a pointer to store the resampler object

Definition at line 57 of file switch_resample.h.

Referenced by switch_resample_perform_create().

double switch_audio_resampler_t::rfactor

Definition at line 64 of file switch_resample.h.

Referenced by switch_resample_perform_create().

int16_t* switch_audio_resampler_t::to

Definition at line 65 of file switch_resample.h.

Referenced by switch_resample_perform_create().

uint32_t switch_audio_resampler_t::to_len

the size of the to buffer used

Definition at line 67 of file switch_resample.h.

int switch_audio_resampler_t::to_rate

the rate to resample to in hz

Definition at line 61 of file switch_resample.h.

Referenced by switch_resample_perform_create().

uint32_t switch_audio_resampler_t::to_size

the total size of the to buffer

Definition at line 69 of file switch_resample.h.

Referenced by switch_resample_perform_create().


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