Mon Aug 31 12:30:50 2015

Asterisk developer's documentation


softmix_channel Struct Reference

Define used to turn on 16 kHz audio support. More...

Data Fields

struct ast_slinfactory factory
short final_buf [SOFTMIX_DATALEN]
struct ast_frame frame
int have_audio:1
int have_frame:1
ast_mutex_t lock
short our_buf [SOFTMIX_DATALEN]

Detailed Description

Define used to turn on 16 kHz audio support.

Structure which contains per-channel mixing information

Definition at line 72 of file bridge_softmix.c.


Field Documentation

struct ast_slinfactory factory [read]

Factory which contains audio read in from the channel

Definition at line 76 of file bridge_softmix.c.

Referenced by softmix_bridge_join(), softmix_bridge_leave(), softmix_bridge_thread(), and softmix_bridge_write().

short final_buf[SOFTMIX_DATALEN]

Buffer containing final mixed audio from all sources

Definition at line 84 of file bridge_softmix.c.

Referenced by softmix_bridge_join(), and softmix_bridge_thread().

struct ast_frame frame [read]

Frame that contains mixed audio to be written out to the channel

Definition at line 78 of file bridge_softmix.c.

Referenced by softmix_bridge_join(), softmix_bridge_poke(), and softmix_bridge_write().

Bit used to indicate that the channel provided audio for this mixing interval

Definition at line 80 of file bridge_softmix.c.

Referenced by softmix_bridge_thread().

Bit used to indicate that a frame is available to be written out to the channel

Definition at line 82 of file bridge_softmix.c.

Referenced by softmix_bridge_poke(), softmix_bridge_thread(), and softmix_bridge_write().

Lock to protect this structure

Definition at line 74 of file bridge_softmix.c.

Referenced by softmix_bridge_join(), softmix_bridge_leave(), softmix_bridge_poke(), softmix_bridge_thread(), and softmix_bridge_write().

short our_buf[SOFTMIX_DATALEN]

Buffer containing only the audio from the channel

Definition at line 86 of file bridge_softmix.c.

Referenced by softmix_bridge_thread().


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

Generated on 31 Aug 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1