summaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 0510985e..075715a9 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -295,7 +295,7 @@ void alc_solaris_deinit(void)
{
}
-void alc_solaris_probe(int type)
+void alc_solaris_probe(enum DevProbe type)
{
#ifdef HAVE_STAT
struct stat buf;
@@ -303,8 +303,15 @@ void alc_solaris_probe(int type)
return;
#endif
- if(type == DEVICE_PROBE)
- AppendDeviceList(solaris_device);
- else if(type == ALL_DEVICE_PROBE)
- AppendAllDeviceList(solaris_device);
+ switch(type)
+ {
+ case DEVICE_PROBE:
+ AppendDeviceList(solaris_device);
+ break;
+ case ALL_DEVICE_PROBE:
+ AppendAllDeviceList(solaris_device);
+ break;
+ case CAPTURE_DEVICE_PROBE:
+ break;
+ }
}