Skip to contentSkip to conversation

snd_pcm_sw_params_set_xfer_align() is deprecated

DISCUSSION GitHub issues - opened 1 participant 1 message Aug 11, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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