-
Bug
-
Resolution: Future Project
-
P4
-
None
-
1.4.2
-
generic
-
generic
Name: dkR10031 Date: 12/09/2002
The J2SE 1.4 API spec reads:
"javax.sound.sampled
Interface DataLine
public boolean isRunning()
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."
The description is incomplete since the specification
does not specify behavior of the method if data is not presented.
Also description is ambiguous because specification does not
define where, when, how, and which "the first data" should be presented in
response to an invocation of the start method for switching line to
a running state.
As well, the specification is unclear about what the distinction of
the methods isRunning and isActive is.
======================================================================
- relates to
-
JDK-6745051 SourceDataLine underrun does not generate documented events or state.
- Open
-
JDK-4297981 Sequencer, DataLine state query methods require name change
- Resolved