26 #if !defined(_SPANDSP_PRIVATE_TIMEZONE_H_)
27 #define _SPANDSP_PRIVATE_TIMEZONE_H_
29 #define TZ_MAX_CHARS 50
31 #define TZ_MAX_LEAPS 50
33 #define TZNAME_MAX 255
39 #define TZ_MAX_TIMES 370
42 #define TZ_MAX_TYPES 256
46 #define TZ_MAX_TYPES 20
49 #define TZ_BIGGEST(a, b) (((a) > (b)) ? (a) : (b))
74 time_t ats[TZ_MAX_TIMES];
75 uint8_t types[TZ_MAX_TIMES];
77 char chars[TZ_BIGGEST(TZ_MAX_CHARS + 1, (2*(TZNAME_MAX + 1)))];
84 char lcl_tzname[TZNAME_MAX + 1];
86 const char *tzname[2];
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:126
Definition: private/timezone.h:63
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
Definition: timezone.c:95
Definition: private/timezone.h:82
Definition: private/timezone.h:69
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:172
Definition: private/timezone.h:53
Definition: private/time_scale.h:36