Adds a listener to this line. Callback to sub {EventName}_Event will be called when one of the following events has been raised: OPEN, CLOSE, START or STOP
AvailableAsInt
Obtains the number of bytes of data currently available to the application for processing in the data line's internal buffer.
BuffersizeAsInt [read only]
Get the buffer size of the TargetDataLine
CH_CONF_MONOAsInt
CH_CONF_STEREOAsInt
Drain
Drains queued data from the line by continuing data I/O until the data line's internal buffer has been emptied.
Indicates whether the line is engaging in active I/O (such as playback or capture). When an inactive line becomes active, it sends a START event to its listeners. Similarly, when an active line becomes inactive, it sends a STOP event.
IsInitializedAsBoolean
IsRunningAsBoolean
Indicates whether the line is running. The default is false. An open line begins running when the first data is presented in response to an invocation of the start method, and continues until presentation ceases in response to a call to stop or because playback completes.
LastExceptionAsString [read only]
If an error occurred get the last exception
Read (Data() AsByte, OffAsInt, LenAsInt) AsInt
Reads data from the TargetDataLine, it requests len bytes which are stored in data off = offset into array data Returns the actual number of bytes read