Next Previous Contents

5. Phones handler

5.1 Purpose

Phones handler is providing a continuous listening of incoming audio blocks. To do that, it uses the EOS information, originaly given by rtMicrophoneHandler (which can be a remote handler).

5.2 Overview

Since rtPhonesHandler is derived from rtStreamWriterFile, it uses an overloading of the write(rtDataStream *) method that is used by parent's handleSound(rtDataStreamBlock *).

Silences and parameter changing into previous handlers are ignored (waitingBlocks is simply decremented in handleSilence(rtDataStreamBlock *) and handleParameters(rtDataStreamBlock *) methods.

5.3 Continuous speech

The rtDataHandler readConditionOnLast(rtDataStreamBlock *) now waits for an EOS block type or waiting blocks to be above 10 (default value). This affects the rtDataHandler behaviour.


Next Previous Contents