RTS API Documentation  1.10.11
Macros | Functions
switch_spandsp.c File Reference
#include <switch.h>
#include "spandsp.h"
+ Include dependency graph for switch_spandsp.c:

Go to the source code of this file.

Macros

#define SPANDSP_NO_TIFF   1
 

Functions

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

Macro Definition Documentation

◆ SPANDSP_NO_TIFF

#define SPANDSP_NO_TIFF   1

Definition at line 35 of file switch_spandsp.c.

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()

switch_plc_state_t* switch_plc_init ( switch_plc_state_t s)

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 }