aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/loopback.c')
-rw-r--r--Alc/backends/loopback.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/Alc/backends/loopback.c b/Alc/backends/loopback.c
index eafed3e3..ae7e32b4 100644
--- a/Alc/backends/loopback.c
+++ b/Alc/backends/loopback.c
@@ -54,6 +54,14 @@ static void loopback_stop_playback(ALCdevice *device)
(void)device;
}
+
+static ALint64 loopback_get_latency(ALCdevice *device)
+{
+ (void)device;
+ return 0;
+}
+
+
static const BackendFuncs loopback_funcs = {
loopback_open_playback,
loopback_close_playback,
@@ -65,7 +73,8 @@ static const BackendFuncs loopback_funcs = {
NULL,
NULL,
NULL,
- NULL
+ NULL,
+ loopback_get_latency
};
ALCboolean alc_loopback_init(BackendFuncs *func_list)