Prepare the ALSA PCM handle before starting capture