From 8148626ba36456a5aed2b3e75bbe32f9e7ab0249 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 17 Aug 2011 06:05:26 -0700 Subject: Allow the backend init functions to return failure --- Alc/portaudio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/portaudio.c') diff --git a/Alc/portaudio.c b/Alc/portaudio.c index 21f43ae2..e1447c02 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -418,9 +418,10 @@ static const BackendFuncs pa_funcs = { pa_available_samples }; -void alc_pa_init(BackendFuncs *func_list) +ALCboolean alc_pa_init(BackendFuncs *func_list) { *func_list = pa_funcs; + return ALC_TRUE; } void alc_pa_deinit(void) -- cgit v1.2.3