|
YAACC - UPNP Client and Server
|
A piece of the audio stream and the server time at which it was recorded. More...


Public Member Functions | |
| WireChunkMessage (int timestampSec, int timestampUsec, byte[] payload) | |
| MessageType | type () |
Public Member Functions inherited from de.yaacc.multiroom.engine.StreamChunk | |
| StreamChunk (int timestampSec, int timestampUsec, byte[] payload) | |
| int | getTimestampSec () |
| int | getTimestampUsec () |
| long | timestampMicros () |
| The source time of the recording in microseconds. | |
| byte[] | getPayload () |
| A copy of the payload. | |
| int | getPayloadLength () |
| boolean | equals (Object other) |
| int | hashCode () |
Public Member Functions inherited from de.yaacc.snapcast.protocol.SnapcastBinaryMessage | |
Static Public Attributes | |
| static final int | MAX_PAYLOAD = StreamChunk.MAX_PAYLOAD |
| The payload that fits into a message of the largest allowed size (8 bytes of timestamp and 4 of length). | |
Static Public Attributes inherited from de.yaacc.multiroom.engine.StreamChunk | |
| static final int | MAX_PAYLOAD = StreamLimits.MAX_CHUNK_PAYLOAD |
| The largest payload (the Snapcast protocol allows 8 MiB for a message: 8 bytes of timestamp and 4 of length are the rest). | |
Additional Inherited Members | |
Protected Member Functions inherited from de.yaacc.multiroom.engine.StreamChunk | |
| StreamChunk (int timestampSec, int timestampUsec, byte[] ownedPayload, boolean owned) | |
| Takes over a payload that nobody else holds (it was just cut out of a message): no second copy. | |
| byte[] | payloadView () |
| The payload without a copy, for the wire message that writes it. | |
A piece of the audio stream and the server time at which it was recorded.
The payload is encoded audio (pcm or flac); it is kept as a private copy.
| MessageType de.yaacc.snapcast.protocol.WireChunkMessage.type | ( | ) |
Implements de.yaacc.snapcast.protocol.SnapcastBinaryMessage.