fn audio_thread(
reader: PageReader<UnixStream>,
tx: SyncSender<Tap>,
shared: Arc<RecShared>,
stop: Arc<AtomicBool>,
)Expand description
Audio-thread body: dates each page’s packets from page_start, laid onto the recording
clock from the first packet’s arrival. Packets wait for their page’s last, which carries
the granule; an unfinished page’s packets at the stream’s end follow the page before. Ends
with the stream, or on stop.