softmix_channel Struct Reference

Structure which contains per-channel mixing information. More...

Collaboration diagram for softmix_channel:

Collaboration graph
[legend]

Data Fields

struct ast_dspdsp
struct ast_slinfactory factory
short final_buf [MAX_DATALEN]
unsigned int have_audio:1
ast_mutex_t lock
short our_buf [MAX_DATALEN]
struct ast_formatread_slin_format
unsigned int talking:1
 TRUE if a channel is talking.
struct video_follow_talker_data video_talker
struct ast_frame write_frame

Detailed Description

Structure which contains per-channel mixing information.

Definition at line 95 of file bridge_softmix.c.


Field Documentation

struct ast_dsp* dsp [read]

DSP for detecting silence

Definition at line 105 of file bridge_softmix.c.

Referenced by set_softmix_bridge_data(), softmix_bridge_leave(), and softmix_bridge_write_voice().

struct ast_slinfactory factory [read]

Factory which contains audio read in from the channel

Definition at line 99 of file bridge_softmix.c.

Referenced by set_softmix_bridge_data(), softmix_bridge_leave(), softmix_bridge_write_voice(), and softmix_process_read_audio().

short final_buf[MAX_DATALEN]

Buffer containing final mixed audio from all sources

Definition at line 116 of file bridge_softmix.c.

Referenced by set_softmix_bridge_data(), softmix_mixing_loop(), and softmix_process_write_audio().

unsigned int have_audio

TRUE if the channel provided audio for this mixing interval

Definition at line 114 of file bridge_softmix.c.

Referenced by softmix_process_read_audio(), and softmix_process_write_audio().

short our_buf[MAX_DATALEN]

Buffer containing only the audio from the channel

Definition at line 118 of file bridge_softmix.c.

Referenced by softmix_process_read_audio(), and softmix_process_write_audio().

struct ast_format* read_slin_format [read]

Current expected read slinear format.

Definition at line 103 of file bridge_softmix.c.

Referenced by set_softmix_bridge_data(), and softmix_bridge_write_voice().

unsigned int talking

TRUE if a channel is talking.

Note:
This affects how the channel's audio is mixed back to it.

Definition at line 112 of file bridge_softmix.c.

Referenced by softmix_bridge_write_voice(), and softmix_process_write_audio().

Data pertaining to talker mode for video conferencing

Definition at line 120 of file bridge_softmix.c.

Referenced by softmix_bridge_write_video(), and softmix_bridge_write_voice().

struct ast_frame write_frame [read]

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

Definition at line 101 of file bridge_softmix.c.

Referenced by set_softmix_bridge_data(), softmix_bridge_leave(), softmix_mixing_loop(), and softmix_process_write_audio().


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

Generated on Thu Apr 16 06:37:37 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6