Function libpulse_binding::sample::format_is_valid
source · Expand description
Returns true if the given integer is a valid sample format.
With pure Rust code, this would be enforced natively through use of the
Format enum, but this function may remain useful for miscellaneous int
values from less reliable sources.