Expand description
StreamingSource โ a Read+Seek adapter over a shared, incrementally-filled byte buffer.
The download thread writes chunks into a StreamBuffer while the Symphonia decoder
reads from a StreamingSource backed by the same buffer. The source blocks briefly
when the read position catches up to the write head, enabling true streaming decode
without waiting for the full download to complete.
Structsยง
- Stream
Buffer - A shared, growable byte buffer that the download thread writes into.
- Streaming
Source - A
Read + Seekview into aStreamBuffer.