only call sox when needed
This commit is contained in:
parent
b7948f669e
commit
2d0ebd6918
10
atom
10
atom
@ -1244,7 +1244,17 @@ do
|
||||
case "$extendedtype" in
|
||||
*'Musepack '*)
|
||||
decodeMpcdec
|
||||
if (( ${destinationnormalize["$destination"]}))\
|
||||
|| (
|
||||
[ -n "${destinationfrequency["$destination"]}" ]\
|
||||
&& (( ${rate:-0} != ${destinationfrequency["$destination"]}))\
|
||||
) || (
|
||||
[ -n "${destinationchannels["$destination"]}" ]\
|
||||
&& (( ${channels:-0} != ${destinationchannels["$destination"]} ))
|
||||
)
|
||||
then
|
||||
sox_needed=1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
decodeSox
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user