fix "Unable to set period time" alsa error, taken from chromiumOS