aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r--Alc/backends/oss.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index 365bb802..6786f8c6 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -476,6 +476,13 @@ static ALCuint oss_available_samples(ALCdevice *Device)
}
+static ALint64 oss_get_latency(ALCdevice *device)
+{
+ (void)device;
+ return 0;
+}
+
+
static const BackendFuncs oss_funcs = {
oss_open_playback,
oss_close_playback,
@@ -487,7 +494,8 @@ static const BackendFuncs oss_funcs = {
oss_start_capture,
oss_stop_capture,
oss_capture_samples,
- oss_available_samples
+ oss_available_samples,
+ oss_get_latency
};
ALCboolean alc_oss_init(BackendFuncs *func_list)