26#if !defined(_SPANDSP_TIME_SCALE_H_)
27#define _SPANDSP_TIME_SCALE_H_
60#if defined(__cplusplus)
70SPAN_DECLARE(
int) time_scale_rate(time_scale_state_t *s,
float playout_rate);
78SPAN_DECLARE(
int) time_scale_max_output_len(time_scale_state_t *s,
int input_len);
90SPAN_DECLARE(
int) time_scale(time_scale_state_t *s, int16_t out[], int16_t in[],
int len);
92SPAN_DECLARE(
int) time_scale_flush(time_scale_state_t *s, int16_t out[]);
106SPAN_DECLARE(
int) time_scale_release(time_scale_state_t *s);
111SPAN_DECLARE(
int) time_scale_free(time_scale_state_t *s);
113#if defined(__cplusplus)
Definition private/time_scale.h:36
float playout_rate
The playout speed, as the fraction output time/input time. (i.e. >1.0 == slow down,...
Definition private/time_scale.h:45
int sample_rate
The sample rate of both the incoming and outgoing signal.
Definition private/time_scale.h:38