aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.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/oss.c
parent14ffb8bd9b148185a42aa691c3c3d0c3a04dbc95 (diff)
Allow the backend init functions to return failure
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 6583d785..724b23c2 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -489,9 +489,10 @@ static const BackendFuncs oss_funcs = {
oss_available_samples
};
-void alc_oss_init(BackendFuncs *func_list)
+ALCboolean alc_oss_init(BackendFuncs *func_list)
{
*func_list = oss_funcs;
+ return ALC_TRUE;
}
void alc_oss_deinit(void)