CAF: Caf Mixer Actions

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Actions on mixers)
(Digits (tone) and events:)
Line 22: Line 22:
 
  - MixerPlayEvent()
 
  - MixerPlayEvent()
 
  - MixerCancelEvent()
 
  - MixerCancelEvent()
 
  
 
=== States can be queried instantly: ===
 
=== States can be queried instantly: ===

Revision as of 14:34, 18 January 2012

Contents

Actions on mixers

The call flow (and it's behaviors) can perform various actions on each of it's mixers. Here is a list of the actions available on the CTBCAFMixer objects (please refer to the header file CTBCMCMixer.hpp for more information on each of these functions):

Controlling creation, modification and destruction in Toolpack system:

- MixerCreate()
- MixerTerminate()
- MixerSetAttribute()

Inserting / removing call legs (or other mixers) from the mixer

- MixerJoin()
- MixerUnjoin()

Playing/recording audio

- MixerPlayStream()
- MixerRecordStream()
- MixerPauseStream()
- MixerResumeStream()
- MixerStopStream()

Digits (tone) and events:

- MixerPlayDigit()
- MixerPlayEvent()
- MixerCancelEvent()

States can be queried instantly:

- IsTerminating()
- IsSynchronized()
- IsPlayingStream()
- IsRecordingStream()
- IsPlayingDigit()
- IsPlayingEvent()

Mixer information can be queried instantly:

- GetMixerId()
- GetAttributes()
- GetLegs()
Personal tools