slmdev / sac

state-of-the-art lossless audio compression
MIT License
47 stars 4 forks source link

Fixed compilation errors on Linux, fixed progression message and added --help flag #5

Open T-3B opened 1 year ago

T-3B commented 1 year ago

Flushing the progression message fixed the program not displaying it in a Linux terminal.

Added `--help`` flag for easier use (current version only print the message when there's no argument given to the program).

Added includes where it was needed and change the cases in the switch, both to compile flawlessly (and no more error) with clang-15 and gcc-13.