CAF: Caf Mixer Actions

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Digits (tone) and events:)
 
(2 intermediate revisions by one user not shown)
Line 17: Line 17:
 
  - MixerResumeStream()
 
  - MixerResumeStream()
 
  - MixerStopStream()
 
  - MixerStopStream()
 
=== Digits (tone) and events: ===
 
- MixerPlayDigit()
 
- MixerPlayEvent()
 
- MixerCancelEvent()
 
  
 
=== States can be queried instantly: ===
 
=== States can be queried instantly: ===
Line 33: Line 28:
 
=== Mixer information can be queried instantly: ===
 
=== Mixer information can be queried instantly: ===
 
  - GetMixerId()
 
  - GetMixerId()
  - GetAttributes()
+
  - GetMixerAttributes()
  - GetLegs()
+
  - GetJoinedLegs()
 +
- GetJoinedMixers()
 +
- GetJoinedLegAttributes()
 +
- GetJoinedMixerAttributes()

Latest revision as of 11:14, 11 June 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()

States can be queried instantly:

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

Mixer information can be queried instantly:

- GetMixerId()
- GetMixerAttributes()
- GetJoinedLegs()
- GetJoinedMixers()
- GetJoinedLegAttributes()
- GetJoinedMixerAttributes()
Personal tools