shithub: rc

ref: e38100c90d38ced7099be43743c0afdaabd2634f
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