#include <switch_resample.h>
Data Fields | |
| void * | resampler |
| int | from_rate |
| int | to_rate |
| double | factor |
| float * | from |
| int | from_len |
| switch_size_t | from_size |
| float * | to |
| uint32_t | to_len |
| uint32_t | to_size |
|
|
the factor to resample by (from / to) |
|
|
a pointer to store a float buffer for data to be resampled |
|
|
the size of the from buffer used |
|
|
the rate to resample from in hz |
|
|
the total size of the from buffer |
|
|
a pointer to store the resampler object |
|
|
a pointer to store a float buffer for resampled data |
|
|
the size of the to buffer used |
|
|
the rate to resample to in hz |
|
|
the total size of the to buffer |
1.3.9.1