Skip Headers

Oracle® interMedia Java Classes Reference
10g Release 1 (10.1)

Part Number B10830-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

setKnownAttributes(String, String, int, int, int, String, int)

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

format

The new attribute value, as a String.

encoding

The new attribute value, as a String.

numberOfChannels

The new attribute value, as an integer.

samplingRate

The new attribute value, as an integer.

sampleSize

The new attribute value, as an integer.

compressionType

The new attribute value, as a String.

audioDuration

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.