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).
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.
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.