snd_pcm_sw_params_set_xfer_align() is deprecated
GitHub issues - opened
github at alsa-project.org
Thu Aug 11 23:33:27 CEST 2022
alsa-project/alsa-oss issue #2 was opened from davidebeatrici:
```c
pcm.c: In function 'oss_dsp_sw_params':
pcm.c:376:17: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated [-Wdeprecated-declarations]
376 | snd_pcm_sw_params_set_xfer_align(pcm, sw, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/alsa/asoundlib.h:54,
from pcm.c:40:
/usr/include/alsa/pcm.h:1368:5: note: declared here
1368 | int snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) __attribute__((deprecated));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Issue URL : https://github.com/alsa-project/alsa-oss/issues/2
Repository URL: https://github.com/alsa-project/alsa-oss
More information about the Alsa-devel
mailing list