Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:48 2009

## Asterisk developer's documentation

# 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 115 of file plc.h.

## Field Documentation

int buf_ptr

Current pointer into the history buffer

Definition at line 128 of file plc.h.

Referenced by normalise_history(), and save_history().

int16_t history[PLC_HISTORY_LEN]

History buffer

Definition at line 126 of file plc.h.

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

int missing_samples

Consecutive erased samples

Definition at line 118 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

int pitch

Pitch estimate

Definition at line 122 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

int pitch_offset

Current offset into pitch period

Definition at line 120 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

float pitchbuf[PLC_PITCH_MIN]

Buffer for a cycle of speech

Definition at line 124 of file plc.h.

Referenced by plc_fillin(), and plc_rx().

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

- plc.h