Asterisk - The Open Source Telephony Project GIT-master-f36a736
Public Member Functions | Data Fields
ast_slinfactory Struct Reference

#include <slinfactory.h>

Collaboration diagram for ast_slinfactory:
Collaboration graph
[legend]

Public Member Functions

 AST_LIST_HEAD_NOLOCK (, ast_frame) queue
 

Data Fields

struct ast_formatformat
 
short hold [AST_SLINFACTORY_MAX_HOLD]
 
size_t holdlen
 
short * offset
 
struct ast_formatoutput_format
 
unsigned int size
 
struct ast_trans_pvttrans
 

Detailed Description

Definition at line 35 of file slinfactory.h.

Member Function Documentation

◆ AST_LIST_HEAD_NOLOCK()

AST_LIST_HEAD_NOLOCK ( ast_frame  )

A list of unaltered frames

Field Documentation

◆ format

struct ast_format* format

Current format the translation path is converting from

Definition at line 42 of file slinfactory.h.

Referenced by ast_slinfactory_destroy(), and ast_slinfactory_feed().

◆ hold

Hold for audio that no longer belongs to a frame (ie: if only some samples were taken from a frame)

Definition at line 38 of file slinfactory.h.

Referenced by ast_slinfactory_flush(), ast_slinfactory_init(), ast_slinfactory_init_with_format(), and ast_slinfactory_read().

◆ holdlen

size_t holdlen

Number of samples currently in the hold

Definition at line 40 of file slinfactory.h.

Referenced by ast_slinfactory_flush(), and ast_slinfactory_read().

◆ offset

short* offset

Offset into the hold where audio begins

Definition at line 39 of file slinfactory.h.

Referenced by ast_slinfactory_flush(), ast_slinfactory_init(), ast_slinfactory_init_with_format(), and ast_slinfactory_read().

◆ output_format

The output format desired

Definition at line 43 of file slinfactory.h.

Referenced by ast_slinfactory_destroy(), ast_slinfactory_feed(), ast_slinfactory_init(), and ast_slinfactory_init_with_format().

◆ size

unsigned int size

Number of samples currently in the factory

Definition at line 41 of file slinfactory.h.

Referenced by ast_slinfactory_available(), ast_slinfactory_feed(), ast_slinfactory_flush(), and ast_slinfactory_read().

◆ trans

struct ast_trans_pvt* trans

Translation path that converts fed frames into signed linear

Definition at line 37 of file slinfactory.h.

Referenced by ast_slinfactory_destroy(), ast_slinfactory_feed(), and ast_slinfactory_flush().


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