Applies the fixes recommended by clippy. Involved in this was extracting most of the Atomics to being held in a SampleData struct, which is then wrapped in an Arc to avoid allocating an Arc per-Atomic. This fixes clippy's complaint about over-complicated/too many fn arguments
Update ahash (to not use the yanked version) and remove some unused features in dependencies
Move the terminal setup code to after the initial audio device configuration, to prevent a situation where the terminal is setup and then the program crashes, putting the terminal in a weird state.
This PR does a few things:
clippy
. Involved in this was extracting most of theAtomic
s to being held in aSampleData
struct, which is then wrapped in anArc
to avoid allocating anArc
per-Atomic. This fixes clippy's complaint about over-complicated/too many fn arguments