Change MIN() and MAX() to MAXIMUM() and MINIMUM() to avoid collisions.
Add experimental pulseaudio support.