From ca9964a4fb6b1faa0155da43b3c815db0075e2d5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 11 May 2015 23:27:41 +0200 Subject: ao: make better use of atomics The main reason for this was compatibility; but some associated problems have been solved in the previous commit. --- audio/out/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/internal.h') 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; -- cgit v1.2.3