26#if !defined(_SPANDSP_TIME_SCALE_H_)
27#define _SPANDSP_TIME_SCALE_H_
60#if defined(__cplusplus)
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
int time_scale_rate(time_scale_state_t *s, float playout_rate)
Change the time scale rate.
Definition: time_scale.c:112
int time_scale_max_output_len(time_scale_state_t *s, int input_len)
Find the maximum possible output samples.
Definition: time_scale.c:280
int time_scale_free(time_scale_state_t *s)
Free a time scale context.
Definition: time_scale.c:327
int time_scale(time_scale_state_t *s, int16_t out[], int16_t in[], int len)
Time scale a chunk of audio samples.
Definition: time_scale.c:137
time_scale_state_t * time_scale_init(time_scale_state_t *s, int sample_rate, float playout_rate)
Initialise a time scale context.
Definition: time_scale.c:286
int time_scale_release(time_scale_state_t *s)
Release a time scale context.
Definition: time_scale.c:321