diff options
author | wm4 <wm4@nowhere> | 2015-05-11 23:27:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-11 23:27:41 +0200 |
commit | ca9964a4fb6b1faa0155da43b3c815db0075e2d5 (patch) | |
tree | 0497215035217334f42be392173466a2e1533496 /audio/out/internal.h | |
parent | cc24ec5b3cf7709bbd16a9505a6acc8156f63af1 (diff) | |
download | mpv-ca9964a4fb6b1faa0155da43b3c815db0075e2d5.tar.bz2 mpv-ca9964a4fb6b1faa0155da43b3c815db0075e2d5.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.
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; |