diff options
author | wm4 <wm4@nowhere> | 2015-05-11 23:27:41 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-05-15 10:30:03 +0900 |
commit | 328d0c7fc326abce5fc1783e74cdd082c87d4986 (patch) | |
tree | fcba26b52485c449dec8d4096d95d608adaf2ac0 /audio/out/internal.h | |
parent | 26409165edbb60a1b2b5eb7f8784a93746f178f6 (diff) | |
download | mpv-328d0c7fc326abce5fc1783e74cdd082c87d4986.tar.bz2 mpv-328d0c7fc326abce5fc1783e74cdd082c87d4986.tar.xz |
ao: make better use of atomics
The main reason for this was compatibility; but some associated problems
have been solved in the previous commit.
(cherry picked from commit ca9964a4fb6b1faa0155da43b3c815db0075e2d5)
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h index 820ac051bf..49131ba293 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -59,7 +59,7 @@ struct ao { char *redirect; // Internal events (use ao_request_reload(), ao_hotplug_event()) - atomic_bool request_reload, request_hotplug; + atomic_int events_; int buffer; double def_buffer; |