APIdia Launch Partner
Top Description Fields Methods
com.sun.media.sound

pack-priv Interface AutoClosingClip

extends Clip
Known Direct Implementers
com.sun.media.sound.DirectAudioDevice.DirectClip
Imports
javax.sound.sampled.Clip

Interface for Clip objects that close themselves automatically.
Author
Florian Bomers

Field Summary

Inherited from javax.sound.sampled.Clip:
LOOP_CONTINUOUSLY

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this clip is auto closing
isAutoClosing
()

Indicates whether this clip instance is auto closing.

public void
setAutoClosing(boolean
- true to set this clip to auto closing
value
)

Sets whether this Clip instance is auto closing or not.

Inherited from javax.sound.sampled.Clip:
getFrameLengthgetMicrosecondLengthloopopenopensetFramePositionsetLoopPointssetMicrosecondPosition

Method Detail

isAutoClosingback to summary
public boolean isAutoClosing()

Indicates whether this clip instance is auto closing. When the clip is auto closing, it calls the close() method automatically after a short period of inactivity.

Returns:boolean

true if this clip is auto closing

setAutoClosingback to summary
public void setAutoClosing(boolean value)

Sets whether this Clip instance is auto closing or not. If true, the close() method will be called automatically after a short period of inactivity.

Parameters
value:boolean

- true to set this clip to auto closing