mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 18:13:15 +00:00
e45dd051c3
The call snd_pcm_hw_params_alloca(&alsa_hwparams) expands to a macro, which actually uses alloca(), and stores its result to alsa_hwparams. At the same time, alsa_hwparams was a global variable for no good reason. Make it less confusing and move the variables into the init() function, where they are needed. |
||
---|---|---|
.. | ||
ao_alsa.c | ||
ao_coreaudio.c | ||
ao_dsound.c | ||
ao_jack.c | ||
ao_lavc.c | ||
ao_null.c | ||
ao_openal.c | ||
ao_oss.c | ||
ao_pcm.c | ||
ao_portaudio.c | ||
ao_pulse.c | ||
ao_rsound.c | ||
audio_out_internal.h | ||
audio_out.c | ||
audio_out.h |