diff options
author | wm4 <wm4@nowhere> | 2012-11-01 01:41:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-01 02:12:18 +0100 |
commit | e45dd051c304dec189d0d4d792a89c2988c3fa71 (patch) | |
tree | c6b9b87449b3985767ddcf256bedf9012f25ec2f /sub/sd_ass.c | |
parent | 741ab3951097af079ca36796ff9dc7ef95496701 (diff) | |
download | mpv-e45dd051c304dec189d0d4d792a89c2988c3fa71.tar.bz2 mpv-e45dd051c304dec189d0d4d792a89c2988c3fa71.tar.xz |
ao_alsa: make code less confusing
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.
Diffstat (limited to 'sub/sd_ass.c')
0 files changed, 0 insertions, 0 deletions