During the day's compile, I noticed some functions were declared deprecated, mainly in sound components. I logged more context, if anyone needs it.
alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time’ is deprecated (declared at /usr/include/alsa/pcm.h:1108) alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time_min’ is deprecated (declared at /usr/include/alsa/pcm.h:1109) alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time_max’ is deprecated (declared at /usr/include/alsa/pcm.h:1110) dscapture.c:451: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101) dsoutput.c:213: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101) wavein.c:486: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated (declared at /usr/include/alsa/pcm.h:1104) waveout.c:762: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated (declared at /usr/include/alsa/pcm.h:1104) waveout.c:764: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101)
TheBlunderbuss wrote:
During the day's compile, I noticed some functions were declared deprecated, mainly in sound components. I logged more context, if anyone needs it.
This is known. But the ALSA functions were only recently deprecated, e.g. Fedora 8 doesn't show them but F9 does.
alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time’ is deprecated (declared at /usr/include/alsa/pcm.h:1108) alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time_min’ is deprecated (declared at /usr/include/alsa/pcm.h:1109) alsa.c:738: warning: ‘snd_pcm_hw_params_get_tick_time_max’ is deprecated (declared at /usr/include/alsa/pcm.h:1110) dscapture.c:451: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101) dsoutput.c:213: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101) wavein.c:486: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated (declared at /usr/include/alsa/pcm.h:1104) waveout.c:762: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated (declared at /usr/include/alsa/pcm.h:1104) waveout.c:764: warning: ‘snd_pcm_sw_params_set_xrun_mode’ is deprecated (declared at /usr/include/alsa/pcm.h:1101)
bye michael
I agree with AJ's reverts on the deprecated ALSA functions, since ALSA kept them for compatibility. Sorry I jumped the gun.