mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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:
parent
e1e9e3ff82
commit
cf15e49d84
12 changed files with 13 additions and 78 deletions
|
|
@ -185,12 +185,6 @@ int setparams_set(snd_pcm_t *handle,
|
|||
printf("Unable to set avail min for %s: %s\n", id, snd_strerror(err));
|
||||
return err;
|
||||
}
|
||||
val = !block ? 4 : 1;
|
||||
err = snd_pcm_sw_params_set_xfer_align(handle, swparams, val);
|
||||
if (err < 0) {
|
||||
printf("Unable to set transfer align for %s: %s\n", id, snd_strerror(err));
|
||||
return err;
|
||||
}
|
||||
err = snd_pcm_sw_params(handle, swparams);
|
||||
if (err < 0) {
|
||||
printf("Unable to set sw params for %s: %s\n", id, snd_strerror(err));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue