Improvements for analogue audio popping for alsa and openmax