|
YAACC - UPNP Client and Server
|
Turns the payload of a chunk into 16 bit interleaved PCM (little endian) with the channel count of the stream. More...


Public Member Functions | |
| byte[] | decode (byte[] payload) throws DecoderException |
| void | reset () |
| Forgets partial state (after a lost connection): the next chunk starts a fresh stream. | |
| long | droppedPartialBytes () |
| Bytes of incomplete frames thrown away so far (statistics). | |
| void | close () |
| Frees the decoder. | |
Turns the payload of a chunk into 16 bit interleaved PCM (little endian) with the channel count of the stream.
| void de.yaacc.multiroom.codec.FrameDecoder.close | ( | ) |
| byte[] de.yaacc.multiroom.codec.FrameDecoder.decode | ( | byte[] | payload | ) | throws DecoderException |
| DecoderException | when the chunk can not be decoded; the caller drops the chunk |
Implemented in de.yaacc.multiroom.codec.PcmFrameDecoder.
| long de.yaacc.multiroom.codec.FrameDecoder.droppedPartialBytes | ( | ) |
Bytes of incomplete frames thrown away so far (statistics).
Implemented in de.yaacc.multiroom.codec.PcmFrameDecoder.
Referenced by de.yaacc.multiroom.engine.ClientEngine.status().

| void de.yaacc.multiroom.codec.FrameDecoder.reset | ( | ) |
Forgets partial state (after a lost connection): the next chunk starts a fresh stream.
Implemented in de.yaacc.multiroom.codec.PcmFrameDecoder.
Referenced by de.yaacc.multiroom.engine.ClientEngine.onConnectionLost(), and de.yaacc.multiroom.engine.ClientEngine.tick().
