Wed Apr 6 11:30:14 2011

Asterisk developer's documentation


softmix_channel Struct Reference

Define used to turn on 16 kHz audio support Structure which contains per-channel mixing information. More...


Data Fields

ast_slinfactory factory
short final_buf [SOFTMIX_DATALEN]
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 68 of file bridge_softmix.c.


Field Documentation

struct ast_slinfactory factory

Factory which contains audio read in from the channel

Definition at line 72 of file bridge_softmix.c.

Referenced by 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 80 of file bridge_softmix.c.

Referenced by softmix_bridge_thread().

struct ast_frame frame

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

Definition at line 74 of file bridge_softmix.c.

Referenced by softmix_bridge_poke(), and softmix_bridge_write().

int have_audio

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

Definition at line 76 of file bridge_softmix.c.

Referenced by softmix_bridge_thread().

int have_frame

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

Definition at line 78 of file bridge_softmix.c.

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

ast_mutex_t lock

Lock to protect this structure

Definition at line 70 of file bridge_softmix.c.

Referenced by 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 82 of file bridge_softmix.c.

Referenced by softmix_bridge_thread().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:14 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7