diff options
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h index 8ba789f603..fbea763306 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -22,6 +22,7 @@ #include <stdbool.h> #include <pthread.h> +#include "osdep/atomics.h" #include "audio/out/ao.h" /* global data used by ao.c and ao drivers */ @@ -55,6 +56,8 @@ struct ao { // Used during init: if init fails, redirect to this ao char *redirect; + atomic_bool request_reload; + int buffer; double def_buffer; void *api_priv; @@ -186,8 +189,6 @@ bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s, bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s, struct mp_chmap *map, int num); -void ao_request_reload(struct ao *ao); - // Add a deep copy of e to the list. // Call from ao_driver->list_devs callback only. void ao_device_list_add(struct ao_device_list *list, struct ao *ao, |