Oracle® interMedia Java Classes Reference 10g Release 1 (10.1) Part Number B10830-01 |
|
|
View PDF |
Format
public void setKnownAttributes(String format, String encoding,
int numberOfChannels, int samplingRate,
int sampleSize, String compressionType,
int audioDuration)
Description
Sets the values of the known attributes of the OrdAudio Java object.
The setProperties( ) method sets the following attributes automatically for certain audio formats: format, encoding, numberOfChannels, samplingRate, sampleSize, compressionType, and audioDuration. Use this method only if you are not using the setProperties( ) method. This method sets only the specified attribute values; it does not modify the audio data itself.
Parameters
The new attribute value, as a String.
The new attribute value, as a String.
The new attribute value, as an integer.
The new attribute value, as an integer.
The new attribute value, as an integer.
The new attribute value, as a String.
The new attribute value, as an integer.
Return Value
None.
Exceptions
java.sql.SQLException
This exception is thrown if an error occurs executing the corresponding setKnownAttributes( ) method in the database.
Examples
None.