now splitting stream in channels and parsing stream format are separate
but handled by the source, so that cpal source can skip format parsing.
added some nicer types, and also range now is +-1 because way easier
than 32k
sorry this is a huge commit, ive been messing with it for a while and
changed a lot across whole project, at this point i'm just committing it
because it can only get worse ehe
now requires feature pulseaudio to build libpulse and pulse source. file
source is always included. the cli got reworked a little bit but I'm not
sure I like it this way, we'll see
Added CLI option to specify channel number, but I'm not sure it's really
working. Refactored AppConfig a little. Added threshold indication on
status bar. References and UI are separate settings and can be toggled
individually. At least 1 sample is always shown when discarding due to
triggering. Range and threshold are configured with arrow keys. Added
more colors to palette. Added ability to toggle braille mode. Fix: fully
write "fps" instead of cutting "s" out.
it's now possible to change most settings while scope-tui. Keybinds are
`v` for vectorscope/oscilloscope, `s` for scatter/line and `+/-` to
manage range.
in actual state, tool is pretty useful but not efficient or moddable in
its design. It's one single main and 5 crates, but draws a decent scope.
Requires pulseaudio and a fast terminal, but got this done in one night.