shithub: rc

ref: 2944d69fd97439729b79475d87c03849bfbb9d79
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