Better Alsa playback handling

With this changes the play, pause and stop actions happen without delay even with big period_sizes (which are needed on an RaspberryPi).

This is an cleaned up branch of my other pull request #85.