diff options
author | Chris Robinson <[email protected]> | 2009-08-27 01:47:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-27 01:47:41 -0700 |
commit | 45dc8048193162edbb886921cfcf2955c5232626 (patch) | |
tree | d99e7a4cb49400b5395be15c69c34d3ad59c989e /Alc/oss.c | |
parent | 81db01ebf1d6b608339b5288785f3c514dbcff27 (diff) |
Store copies of the device names in the individual backends
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -47,8 +47,8 @@ #define SOUND_MIXER_WRITE MIXER_WRITE #endif -static char *oss_device; -static char *oss_device_capture; +static const ALCchar oss_device[] = "OSS Software"; +static const ALCchar oss_device_capture[] = "OSS Capture"; typedef struct { int fd; @@ -474,10 +474,10 @@ void alc_oss_init(BackendFuncs *func_list) { *func_list = oss_funcs; - oss_device = AppendDeviceList("OSS Software"); + AppendDeviceList(oss_device); AppendAllDeviceList(oss_device); - oss_device_capture = AppendCaptureDeviceList("OSS Capture"); + AppendCaptureDeviceList(oss_device_capture); } void alc_oss_deinit(void) |