avb_stream/lib.rs
1//! AVTP audio streams for talker and listener entities: AAF and
2//! AM824 frames built and read (IEEE 1722-2016, 7 and 6.4), sent paced on
3//! gPTP time and received into a buffer the audio device plays, with
4//! audio from and to the computer's devices through cpal, a test tone or
5//! nothing; and media clock streams, CRF (10), on the same time.
6//!
7//! The media clock is gPTP's: a talker sends its samples at the nominal
8//! rate of gPTP time, read from the interface's PTP hardware clock, and
9//! the audio device, on its own clock, is kept in step by resampling
10//! between the two, the ratio steered by the fill of a buffer between
11//! them.
12
13pub mod aaf;
14pub mod am824;
15pub mod audio;
16pub mod clock;
17pub mod crf;
18pub mod formats;
19pub mod listener;
20pub mod media;
21mod meter;
22pub mod realtime;
23pub mod recovered;
24pub mod talker;
25
26pub use clock::MediaClock;
27pub use listener::{GroupListener, Listener, ListenerConfig, ListenerGroup, ListenerStats};
28pub use recovered::RecoveredClock;
29pub use talker::{
30 GroupConfig, GroupStream, GroupTalker, Talker, TalkerConfig, TalkerGroup, TalkerStats,
31};