This is the simple implementation of flac compressor. You can find information about it here. Also you can find code of flac here.
cmake -S . -B "path to folder to build files"
cmake --build "path to folder to build files"
./demo-flac input_file
./demo-flac -d input_file
--bps=x
-o output_file
--channels=x
--sample-rate=x
--blocksize=x
--sign=true
--sign=false
-d
-e
- Type of input files. In flac you can use different types of input files but here you can use only input files that have raw data.
- In flac there is 4 types of subframes (constant, verbatium, fixed and lpc). Here you can find only 3 types (constant, verbatium and fixed).