switch_audio_resampler_t Struct Reference
[Audio Resample Functions]

An audio resampling handle. More...

#include <switch_resample.h>

Collaboration diagram for switch_audio_resampler_t:

[legend]

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

Detailed Description

An audio resampling handle.

Definition at line 55 of file switch_resample.h.


Field Documentation

double switch_audio_resampler_t::factor

the factor to resample by (from / to)

Definition at line 63 of file switch_resample.h.

int switch_audio_resampler_t::from_rate

the rate to resample from in hz

Definition at line 59 of file switch_resample.h.

void* switch_audio_resampler_t::resampler

a pointer to store the resampler object

Definition at line 57 of file switch_resample.h.

double switch_audio_resampler_t::rfactor

Definition at line 64 of file switch_resample.h.

int16_t* switch_audio_resampler_t::to

Definition at line 65 of file switch_resample.h.

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.

uint32_t switch_audio_resampler_t::to_size

the total size of the to buffer

Definition at line 69 of file switch_resample.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:25 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7