Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
Data Fields
plc_state_t Struct Reference

#include <plc.h>

Data Fields

int buf_ptr
 
int16_t history [PLC_HISTORY_LEN]
 
int missing_samples
 
int pitch
 
int pitch_offset
 
float pitchbuf [PLC_PITCH_MIN]
 

Detailed Description

Definition at line 105 of file plc.h.

Field Documentation

◆ buf_ptr

int buf_ptr

Current pointer into the history buffer

Definition at line 118 of file plc.h.

Referenced by normalise_history(), and save_history().

◆ history

History buffer

Definition at line 116 of file plc.h.

Referenced by normalise_history(), plc_fillin(), and save_history().

◆ missing_samples

int missing_samples

Consecutive erased samples

Definition at line 108 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

◆ pitch

int pitch

Pitch estimate

Definition at line 112 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

◆ pitch_offset

int pitch_offset

Current offset into pitch period

Definition at line 110 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

◆ pitchbuf

float pitchbuf[PLC_PITCH_MIN]

Buffer for a cycle of speech

Definition at line 114 of file plc.h.

Referenced by plc_fillin(), and plc_rx().


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