setAudioDuration(int)

Format

public void setAudioDuration(int audioDuration)

Description

Sets the value of the audioDuration attribute.

The setProperties( ) method sets this attribute automatically for certain audio formats; use this method only if you are not using the setProperties( ) method. This method sets only the attribute value; it does not modify the audio data itself.

Parameters

audioDuration

The new attribute value.

Return Value

None.

Exceptions

java.sql.SQLException

This exception is thrown if an error occurs accessing the audioDuration attribute.