implementation of alsa in the player