From ce2e350ce59bd266002f1df1f38d37cffa8c08de Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Fri, 21 Sep 2007 00:46:49 +0000 Subject: [PATCH] readme file for the mixing git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@448 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- .../mixin_announce/Readme.mixin_announce | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 apps/examples/mixin_announce/Readme.mixin_announce diff --git a/apps/examples/mixin_announce/Readme.mixin_announce b/apps/examples/mixin_announce/Readme.mixin_announce new file mode 100644 index 00000000..3b623ca9 --- /dev/null +++ b/apps/examples/mixin_announce/Readme.mixin_announce @@ -0,0 +1,25 @@ +mixin_announce + +This module demonstrates the AmAudioMixIn, used in the IVR, where +it is called IvrAudioMixIn. The AmAudioMixIn is an audio device +that uses two AmAudio 'devices' (in the IVR: IvrAudioFile) as audio +sources, plays the first one, and periodically mixes in the second one. +The period, i.e. the time between two times mixing in the second audio, +can be specified, as well as the level with which the second one is +mixed into the first. The last parameter, a boolean, specifies whether +playback of the second audio should be finished if the first is finished +while mixing in the second. +If level == 0, playback of the first is not continued when playing the +second, which means that it continues right where it was before +playback of the second started. + +IVR usage: + init(IvrAudioFile first, IvrAudioFile second, + int interval, float level, boolean finish) + +C++ usage: +AmAudioMixIn:: + AmAudioMixIn(AmAudio* A, AmAudioFile* B, + unsigned int interval, double level, + bool finish_b_while_mixing = false); +