rate: add some sanity checkingmaster
commitf3094754a7c2a7e55c35621d20fa9945736e72df
authorMans Rullgard <mans@mansr.com>
Thu, 30 May 2024 13:46:01 +0000 (30 14:46 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 30 May 2024 13:46:01 +0000 (30 14:46 +0100)
tree7c6d2955061ee09f29026b1a167d8f5199a0a64a
parent507b669990d051546050eb912c9fd75fe22e97fc
rate: add some sanity checking

Fail with error message instead of crashing with insane invocations
such as:
  sox -r 3e-6 -n -n rate 16k
src/rate.c