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