aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sndio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/sndio.c')
-rw-r--r--Alc/backends/sndio.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Alc/backends/sndio.c b/Alc/backends/sndio.c
index 1d1c512c..c1dbc1a6 100644
--- a/Alc/backends/sndio.c
+++ b/Alc/backends/sndio.c
@@ -252,6 +252,13 @@ static void sndio_stop_playback(ALCdevice *device)
}
+static ALint64 sndio_get_latency(ALCdevice *device)
+{
+ (void)device;
+ return 0;
+}
+
+
static const BackendFuncs sndio_funcs = {
sndio_open_playback,
sndio_close_playback,
@@ -263,7 +270,8 @@ static const BackendFuncs sndio_funcs = {
NULL,
NULL,
NULL,
- NULL
+ NULL,
+ sndio_get_latency
};
ALCboolean alc_sndio_init(BackendFuncs *func_list)