23 #define SAMPLE_CENTER 128
void decode_ltc(LTCDecoder *d, ltcsnd_sample_t *sound, size_t size, ltc_off_t posinfo)
libltc - en+decode linear timecode
unsigned char ltcsnd_sample_t
#define LTC_FRAME_BIT_COUNT
ltcsnd_sample_t snd_to_biphase_max
ltcsnd_sample_t snd_to_biphase_min
double snd_to_biphase_period
track length of a period - used to set snd_to_biphase_lmt
ltc_off_t frame_start_off
int snd_to_biphase_lmt
specifies when a state-change is considered biphase-clock or 2*biphase-clock
unsigned char biphase_state
unsigned char biphase_prev
ltc_off_t frame_start_prev
float biphase_tics[LTC_FRAME_BIT_COUNT]
unsigned short decoder_sync_word
int snd_to_biphase_cnt
counts the samples in the current period
unsigned char snd_to_biphase_state