Alsa playback handling 2

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