aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/opensl.c')
-rw-r--r--Alc/backends/opensl.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Alc/backends/opensl.c b/Alc/backends/opensl.c
index bf243e38..f2df0218 100644
--- a/Alc/backends/opensl.c
+++ b/Alc/backends/opensl.c
@@ -401,6 +401,13 @@ static void opensl_stop_playback(ALCdevice *Device)
}
+static ALint64 opensl_get_latency(ALCdevice *device)
+{
+ (void)device;
+ return 0;
+}
+
+
static const BackendFuncs opensl_funcs = {
opensl_open_playback,
opensl_close_playback,
@@ -412,7 +419,8 @@ static const BackendFuncs opensl_funcs = {
NULL,
NULL,
NULL,
- NULL
+ NULL,
+ opensl_get_latency
};