|
YAACC - UPNP Client and Server
|
The three Vorbis headers (identification, comment, setup) in the Ogg pages of the CodecHeader of the codec ogg.
More...

Public Member Functions | |
| byte[] | getIdentification () |
| byte[] | getSetup () |
| int | getSampleRate () |
| int | getChannels () |
Static Public Member Functions | |
| static VorbisHeaders | parse (byte[] header) throws StreamFormatException |
The three Vorbis headers (identification, comment, setup) in the Ogg pages of the CodecHeader of the codec ogg.
The platform decoder needs the identification and the setup packet. Only a stream of one or two channels in the range of rates of the engine is accepted; the sample size is 16 bit (what the decoder gives).
|
static |
| StreamFormatException | MALFORMED when the three headers are not there, in this order, and well formed; UNSUPPORTED_FORMAT for a rate or channel count the engine does not support |
