aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-17 06:05:26 -0700
committerChris Robinson <[email protected]>2011-08-17 06:05:26 -0700
commit8148626ba36456a5aed2b3e75bbe32f9e7ab0249 (patch)
treeb5de5d71473e9b4a52e1200fb05c3c6a79233f39 /Alc/portaudio.c
parent14ffb8bd9b148185a42aa691c3c3d0c3a04dbc95 (diff)
Allow the backend init functions to return failure
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c3
1 files changed, 2 insertions, 1 deletions
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)