|
spandsp 3.0.0
|
#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. | |
Audio time scaling descriptor.
| int16_t time_scale_state_s::buf[(2 *48000/60)] |
Buffer for residual samples kept over from one call of time_scale() to the next.
Referenced by time_scale().
| int time_scale_state_s::buf_len |
The active length of buf at the current sample rate.
Referenced by time_scale(), and time_scale_init().
| int time_scale_state_s::fill |
The number of samples in buf.
Referenced by time_scale(), and time_scale_init().
| int time_scale_state_s::max_pitch |
The maximum pitch we will search for, in samples per cycle.
Referenced by time_scale(), and time_scale_init().
| int time_scale_state_s::min_pitch |
The minimum pitch we will search for, in samples per cycle.
Referenced by time_scale(), time_scale_init(), and time_scale_max_output_len().
| float time_scale_state_s::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).
Referenced by time_scale(), time_scale_max_output_len(), and time_scale_rate().
| double time_scale_state_s::rate_nudge |
The fractional sample adjustment, to allow for non-integer values of lcp.
Referenced by time_scale(), and time_scale_init().
| int time_scale_state_s::sample_rate |
The sample rate of both the incoming and outgoing signal.
Referenced by time_scale_init().