aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.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/alsa.c
parent14ffb8bd9b148185a42aa691c3c3d0c3a04dbc95 (diff)
Allow the backend init functions to return failure
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index e2a2fa91..cd6df594 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -1053,9 +1053,10 @@ static const BackendFuncs alsa_funcs = {
alsa_available_samples
};
-void alc_alsa_init(BackendFuncs *func_list)
+ALCboolean alc_alsa_init(BackendFuncs *func_list)
{
*func_list = alsa_funcs;
+ return ALC_TRUE;
}
void alc_alsa_deinit(void)