shithub: rc

ref: 01855b9a4e87a9fcb6ff1b37a690d912a17da6c3
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