Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snd_pcm_sw_params_set_xfer_align() is deprecated #2

Open
davidebeatrici opened this issue Aug 11, 2022 · 0 comments
Open

snd_pcm_sw_params_set_xfer_align() is deprecated #2

davidebeatrici opened this issue Aug 11, 2022 · 0 comments

Comments

@davidebeatrici
Copy link

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));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant