Maven module :un.storage : media-aac :
Class : un.storage.media.aac.Profile
Extends/Implements : -
Subclasses : -

Different AAC profiles.
The function Decoder.canDecode specifies if the decoder can
handle a given format.
More precisely, the ISO standard calls these 'object types'.

@author Alexander Simm


Variables : -
Functions : forInt, getIndex, getDescription, toString, isDecodingSupported, isErrorResilientProfile




Returns a profile instance for the given index. If the index is not
between 1 and 23 inclusive, UNKNOWN is returned.
return  a profile with the given index
public Profile forInt (int i)


Returns this profile's index between 1 and 23 or -1 if this is the
UNKNOWN instance.
@return the profile's index
public int getIndex ()


Returns a short description of this profile.
return  the profile's description
public String getDescription ()


Returns a string representation of this profile. The method is
identical to getDescription().
return  the profile's description
public String toString ()


Returns a boolean, indicating if this profile can be decoded by the
Decoder.
@see Decoder#canDecode(net.sourceforge.jaad.aac.Profile)
@return true if the profile is supported
public boolean isDecodingSupported ()


Returns a boolean, indicating if this profile contains error resilient
tools. That is, if it's index is higher than 16, since the first error
resilient profile is ER_AAC_LC (17).
This method is mainly used internally.
return  true if the profile uses error resilience
public boolean isErrorResilientProfile ()