diff options
author | wm4 <wm4@nowhere> | 2016-08-09 16:52:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-09 17:09:29 +0200 |
commit | 367e9fb7f1e2143607a6d1ae0c1db5765c5f003b (patch) | |
tree | 7b0bd4b531d934f8bb9a42e1bd75a40d353c0059 /options/options.c | |
parent | 2ded41d2beff54de26ab1c4d16ab4d0bd14eeba0 (diff) | |
download | mpv-367e9fb7f1e2143607a6d1ae0c1db5765c5f003b.tar.bz2 mpv-367e9fb7f1e2143607a6d1ae0c1db5765c5f003b.tar.xz |
ao_alsa: make pause state more robust, reduce minor code duplication
With the previous commit, ao_alsa.c now has 3 possible ways to pause
playback. Actually all 3 of them need get_delay() to fake its return
value, so don't duplicate that code.
Also much of the code looks a bit questionable when considering
inconsistent pause/resume calls from outside, so ignore redundant calls.
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions