rewrite supported audio parameter matching code - easier to read/follow - if can't match desired parameters exactly, find closest match instead of returning an error.  this is how most other audio drivers work.
rewrite supported audio parameter matching code
- easier to read/follow
- if can't match desired parameters exactly, find closest match instead
of returning an error.  this is how most other audio drivers work.

ok ratchov

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars