ob-alsa-pipe: move volume calculation to a separate function
Older python version may import xml.etree.cElementTree