Skip to main content

Module validate

Module validate 

Source
Expand description

Pure config validation and device role inference.

This module does not touch CPAL. All validation here is about internal config consistency — device aliases, channel numbers, route references, and role/channel-count inference.

Structs§

ResolvedDeviceRole
A device with its inferred input/output roles and required channel counts.
ValidatedConfig
The output of successful validation.
ValidatedRoute
A route that has passed pure validation.

Functions§

validate_config
Run pure config validation, returning a ValidatedConfig or a list of error messages.