summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r--audio/out/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index 32c6aa7b27..3d586f3848 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -160,6 +160,10 @@ struct ao_driver {
int ao_play_silence(struct ao *ao, int samples);
void ao_wait_drain(struct ao *ao);
int ao_read_data(struct ao *ao, void **data, int samples, int64_t out_time_us);
+struct pollfd;
+int ao_wait_poll(struct ao *ao, struct pollfd *fds, int num_fds,
+ pthread_mutex_t *lock);
+void ao_wakeup_poll(struct ao *ao);
bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s,
struct mp_chmap *map);