aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-27 01:47:41 -0700
committerChris Robinson <[email protected]>2009-08-27 01:47:41 -0700
commit45dc8048193162edbb886921cfcf2955c5232626 (patch)
treed99e7a4cb49400b5395be15c69c34d3ad59c989e /Alc/solaris.c
parent81db01ebf1d6b608339b5288785f3c514dbcff27 (diff)
Store copies of the device names in the individual backends
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 5f0ebf17..5c7716f6 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -37,7 +37,7 @@
#include <sys/audioio.h>
-static char *solaris_device;
+static const ALCchar solaris_device[] = "Solaris Software";
typedef struct {
int fd;
@@ -279,7 +279,7 @@ void alc_solaris_init(BackendFuncs *func_list)
{
*func_list = solaris_funcs;
- solaris_device = AppendDeviceList("Solaris Software");
+ AppendDeviceList(solaris_device);
AppendAllDeviceList(solaris_device);
}