spandsp  3.0.0
time_scale_state_s Struct Reference

#include <time_scale.h>

Public Attributes

int sample_rate
 The sample rate of both the incoming and outgoing signal.
 
int min_pitch
 The minimum pitch we will search for, in samples per cycle.
 
int max_pitch
 The maximum pitch we will search for, in samples per cycle.
 
float playout_rate
 The playout speed, as the fraction output time/input time. (i.e. >1.0 == slow down, 1.0 == no speed change, <1.0 == speed up)
 
double rcomp
 
double rate_nudge
 The fractional sample adjustment, to allow for non-integer values of lcp.
 
int lcp
 
int buf_len
 The active length of buf at the current sample rate.
 
int fill
 The number of samples in buf.
 
int16_t buf [(2 *48000/60)]
 Buffer for residual samples kept over from one call of time_scale() to the next.
 

Detailed Description

Audio time scaling descriptor.


The documentation for this struct was generated from the following file: