RTS API Documentation  1.10.11
Functions
switch_spandsp.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SWITCH_BEGIN_EXTERN_C switch_plc_state_tswitch_plc_init (switch_plc_state_t *s)
 
int switch_plc_free (switch_plc_state_t *s)
 
int switch_plc_rx (switch_plc_state_t *s, int16_t amp[], int len)
 
int switch_plc_fillin (switch_plc_state_t *s, int16_t amp[], int len)
 

Function Documentation

◆ switch_plc_fillin()

int switch_plc_fillin ( switch_plc_state_t s,
int16_t  amp[],
int  len 
)

Definition at line 46 of file switch_spandsp.c.

Referenced by switch_core_session_read_frame().

46  {
47  return plc_fillin((plc_state_t *)s, amp, len);
48 }

◆ switch_plc_free()

int switch_plc_free ( switch_plc_state_t s)

Definition at line 42 of file switch_spandsp.c.

Referenced by switch_core_session_perform_destroy().

42  {
43  return plc_free((plc_state_t *)s);
44 }

◆ switch_plc_init()

Definition at line 38 of file switch_spandsp.c.

Referenced by switch_core_session_read_frame().

38  {
39  return (switch_plc_state_t *)plc_init((plc_state_t *)s);
40 }
void * switch_plc_state_t

◆ switch_plc_rx()

int switch_plc_rx ( switch_plc_state_t s,
int16_t  amp[],
int  len 
)

Definition at line 50 of file switch_spandsp.c.

Referenced by switch_core_session_read_frame().

51 {
52  return plc_rx((plc_state_t*)s, amp, len);
53 }