Skip to main content

test_pattern

Function test_pattern 

Source
pub fn test_pattern(format: Format, channels: usize, offset: i64) -> Sample
Expand description

Build the test pattern sample that a feed sends.

A feed opens with two of these, at the offsets in TEST_PATTERN_OFFSETS. An implementation that skips them loses the whole stream. SPEC.md 6.