pub enum VadErrorCode {
Show 15 variants
InvalidParameter,
InvalidProbability,
InvalidPcm,
Overflow,
SessionFinished,
Inference,
ModelLoad,
FailedSession,
InvalidStereoLength,
CaptureSampleOverflow,
PtsOutOfRange,
UnsupportedTap,
UnsupportedConversionClock,
Conversion,
Stopped,
}Expand description
Typed cause of an isolated VAD failure.
Variants§
InvalidParameter
A segmentation parameter is outside the supported domain.
InvalidProbability
An inference probability is not finite or normalized.
InvalidPcm
PCM is not finite or normalized.
Overflow
Checked arithmetic or storage capacity was exceeded.
SessionFinished
Processing followed a completed session without reset.
Inference
Inference or model reset failed.
ModelLoad
The embedded model could not be constructed.
FailedSession
A previous failure requires a successful reset.
InvalidStereoLength
Capture input did not contain complete stereo frames.
CaptureSampleOverflow
A capture sample count exceeded the supported domain.
PtsOutOfRange
The capture timestamp exceeded its supported domain.
UnsupportedTap
The requested capture tap is unavailable for this binding or configuration.
UnsupportedConversionClock
Conversion could not establish an exact sample-aligned clock.
Conversion
Capture conversion failed.
Stopped
Processing followed stopped capture intake.