made specifying the mode nicer

This commit is contained in:
Ahmet Inan 2025-07-19 12:40:47 +02:00
commit a626441665
3 changed files with 50 additions and 11 deletions

2
Makefile vendored
View file

@ -15,7 +15,7 @@ CXX = clang++ -stdlib=libc++ -march=native
all: encode decode
test: encode decode
$(QEMU) ./encode audio.wav 48000 16 1 1500 ANONYMOUS 48 /dev/urandom
$(QEMU) ./encode audio.wav 48000 16 1 1500 ANONYMOUS QAM16 1/2 short /dev/urandom
$(QEMU) ./decode audio.wav /dev/null
encode: encode.cc common.hh