audio-netsender: Fix sample rate validation
* audio-netsender: Fix sample rate validation
This change makes a simple change that makes the function compare the requested sample rate against the valid rates instead of the indices of the valid rates.
Approved-by: Alan Noble
Chunksize can be calculated without needing an ALSA device instance.
Added a DataSize function to pcm package for calculating size of pcm data given relevant attributes.
Removed ChunkSize from config revid config struct.
Changed NewByteLexer to accept an in rather than a pointer.
Addition of new structs and helper functions for passing around pcm clips/buffers and their formats so that we don't have to import and rely on yobert/alsa code.
Updated any commands and alsa package to use refactored code.