shithub: rc

ref: becbfc2fdda3be2ef5e0a3f3806a0c0d3f93e2cb
dir: /bin/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