Package ej.audio.format
Class Base64AudioFormat
- java.lang.Object
-
- ej.audio.AudioFormat
-
- ej.audio.format.Base64AudioFormat
-
public class Base64AudioFormat extends AudioFormat
AudioFormatwhich represents data with the Base64 encoding.
-
-
Constructor Summary
Constructors Constructor Description Base64AudioFormat(AudioFormat wrappedFormat)Creates a Base64 audio format that wraps the given audio format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncoding()Returns the encoding of this audio format.int[]getParameters()Returns the parameters of this audio format.
-
-
-
Constructor Detail
-
Base64AudioFormat
public Base64AudioFormat(AudioFormat wrappedFormat)
Creates a Base64 audio format that wraps the given audio format.- Parameters:
wrappedFormat- the wrapped audio format.
-
-
Method Detail
-
getEncoding
public String getEncoding()
Description copied from class:AudioFormatReturns the encoding of this audio format.- Specified by:
getEncodingin classAudioFormat- Returns:
- the encoding.
-
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.
-
-