1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! AVTP audio streams for talker and listener entities: AAF and
//! AM824 frames built and read (IEEE 1722-2016, 7 and 6.4), sent paced on
//! gPTP time and received into a buffer the audio device plays, with
//! audio from and to the computer's devices through cpal, a test tone or
//! nothing; and media clock streams, CRF (10), on the same time.
//!
//! The media clock is gPTP's: a talker sends its samples at the nominal
//! rate of gPTP time, as gptpd gives it for the interface, and
//! the audio device, on its own clock, is kept in step by resampling
//! between the two, the ratio steered by the fill of a buffer between
//! them.
//!
//! With `AVB_STREAM_TIMING` naming a file, each talker's thread writes
//! there a line a second: how late it woke for its frames, how often it
//! was already behind, and how long building and sending them took,
//! counted by the thread itself and written by one of ordinary
//! priority. Without it, the thread keeps no time of its own.
pub use MediaClock;
pub use ;
pub use RecoveredClock;
pub use ;