TACSOutput Properties


Delay : Integer;

Use this property to set the delay (in milliseconds) in output thread. This property allows the user to reduce the stress the output thread puts on the CPU (especially under Windows).

Be careful with this property when using TAudioOut component. Assigning too large values to it can cause dropouts in audio playback.

See also : SuspendWhenIdle


Input : TACSInput;

This property allows you to set the input component for the output component. The valid input components must be descendants of TACSInput.


Progress : Integer;

Readonly

Read Progress to get the output progress in percents. This value is meaningful only after the input component has been set and only if the input component can tell the size of its stream.

See also : OnProgress event


Status : TOutputStatus;

Readonly

This property indicates the output component's current status. Possible values are:

tosPlaying: the component is working;
tosPaused: the component is paused (the Pause method was called);
tosIdle: the component is idle;


SuspendWhenIdle : Boolean;

If this property is set to True the output thread suspends every time the output component becomes inactive, otherwise the thread executes permanently. This property is introduced to simplify the debugging process ander Kylix IDE. Output components perform output in their own threads. The signals received by multi-threaded applications under IDE can cause problems. Set this property to False when debugging your application and to True in the final release.

Windows note: since this property is intended for use in Kylix mainly it is recommended always to set this property to True in Delphi.


ThreadPriority : Integer;

Output components perform output in their own threads. Use this property to set the priority for the thread.


Copyright © 2002, 2003 Andrei Borovsky. All rights reserved.