Remove PCM xfer_align

The PCM xfer_align is a removed feature from the kernel.
This patch cleans up the corresponding part in alsa-lib.
This commit is contained in:
Takashi Iwai 2008-01-08 18:35:29 +01:00
parent e1e9e3ff82
commit cf15e49d84
12 changed files with 13 additions and 78 deletions

View file

@ -177,12 +177,6 @@ static int set_swparams(snd_pcm_t *handle, snd_pcm_sw_params_t *swparams)
printf("Unable to set avail min for playback: %s\n", snd_strerror(err));
return err;
}
/* align all transfers to 1 sample */
err = snd_pcm_sw_params_set_xfer_align(handle, swparams, 1);
if (err < 0) {
printf("Unable to set transfer align for playback: %s\n", snd_strerror(err));
return err;
}
/* write the parameters to the playback device */
err = snd_pcm_sw_params(handle, swparams);
if (err < 0) {