aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/portaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/portaudio.c')
-rw-r--r--Alc/backends/portaudio.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/Alc/backends/portaudio.c b/Alc/backends/portaudio.c
index e55f6842..8d64189c 100644
--- a/Alc/backends/portaudio.c
+++ b/Alc/backends/portaudio.c
@@ -419,13 +419,6 @@ static ALCuint pa_available_samples(ALCdevice *device)
}
-static ALint64 pa_get_latency(ALCdevice *device)
-{
- (void)device;
- return 0;
-}
-
-
static const BackendFuncs pa_funcs = {
pa_open_playback,
pa_close_playback,
@@ -440,7 +433,7 @@ static const BackendFuncs pa_funcs = {
pa_available_samples,
ALCdevice_LockDefault,
ALCdevice_UnlockDefault,
- pa_get_latency
+ ALCdevice_GetLatencyDefault
};
ALCboolean alc_pa_init(BackendFuncs *func_list)