diff options
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h index 4ee7f00f8a..e43b81a5ca 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -132,6 +132,8 @@ struct ao_driver { float (*get_delay)(struct ao *ao); // push based: block until all queued audio is played (optional) void (*drain)(struct ao *ao); + // Optional. Return true if audio has stopped in any way. + bool (*get_eof)(struct ao *ao); // Wait until the audio buffer needs to be refilled. The lock is the // internal mutex usually protecting the internal AO state (and used to // protect driver calls), and must be temporarily unlocked while waiting. |