shithub: rc

ref: e38100c90d38ced7099be43743c0afdaabd2634f
dir: /bin/aconv2/

View raw version
#!/bin/rc
parm=()
if(~ $1 -l){
	parm=(-l)
	shift
}
pref=$1
for(i in $*(2-)){
	echo $i
	audio/flacdec <$i | pcm2opus >`{echo $i | mfmt $pref opus}
}