Package ej.audio.format
Class Base64AudioFormat
java.lang.Object
ej.audio.AudioFormat
ej.audio.format.Base64AudioFormat
AudioFormat which represents the format of an audio sink with the Base64 encoding.-
Constructor Summary
ConstructorsConstructorDescriptionBase64AudioFormat(AudioFormat wrappedFormat) Creates a Base64 audio format that wraps the given audio format. -
Method Summary
Modifier and TypeMethodDescriptionReturns the data format of an audio stream.int[]Returns the parameters of this audio format.
-
Constructor Details
-
Base64AudioFormat
Creates a Base64 audio format that wraps the given audio format.- Parameters:
wrappedFormat- the wrapped audio format.
-
-
Method Details
-
getEncoding
Description copied from class:AudioFormatReturns the data format of an audio stream.- Specified by:
getEncodingin classAudioFormat- Returns:
- the encoding format string.
-
getParameters
public int[] getParameters()Description copied from class:AudioFormatReturns the parameters of this audio format.The parameters depend on the encoding. The semantics of every parameter is known by the low-level audio implementation.
- Specified by:
getParametersin classAudioFormat- Returns:
- the parameters.
-