#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 |
Definition at line 55 of file switch_resample.h.
the factor to resample by (from / to)
Definition at line 63 of file switch_resample.h.
the rate to resample from in hz
Definition at line 59 of file switch_resample.h.
a pointer to store the resampler object
Definition at line 57 of file switch_resample.h.
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.
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.
1.4.7