The DecoderInfo object contains the neccessary data to
initialize a decoder. A track either contains a DecoderInfo or a
byte-Array called the 'DecoderSpecificInfo', which is e.g. used for AAC.
The DecoderInfo object received from a track is a subclass of
this class depending on the Codec.
AudioTrack track = (AudioTrack) movie.getTrack(AudioCodec.AC3);
AC3DecoderInfo info = (AC3DecoderInfo) track.getDecoderInfo();
DecoderInfoobject contains the neccessary data toinitialize a decoder. A track either contains a
DecoderInfoor abyte-Array called the 'DecoderSpecificInfo', which is e.g. used for AAC.
The
DecoderInfoobject received from a track is a subclass ofthis class depending on the
Codec.AudioTrack track = (AudioTrack) movie.getTrack(AudioCodec.AC3);
AC3DecoderInfo info = (AC3DecoderInfo) track.getDecoderInfo();
@author Alexander Simm