shithub: rc

ref: 2d20fed529dfd223af1c21f1823e1ebe6f19ba2a
dir: /2opus/

View raw version
#!/bin/rc
l=(--bitrate 128)
if(~ $1 -l){
	l=()
	shift
}
play -o /fd/1 >[2]/dev/null |\
	audio/opusenc --music --downmix-stereo $l