aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.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/wave.c
parent81db01ebf1d6b608339b5288785f3c514dbcff27 (diff)
Store copies of the device names in the individual backends
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index da98113e..578b769e 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -40,7 +40,7 @@ typedef struct {
} wave_data;
-static ALCchar *waveDevice;
+static const ALCchar waveDevice[] = "Wave File Writer";
static ALuint WaveProc(ALvoid *ptr)
@@ -367,7 +367,7 @@ void alc_wave_init(BackendFuncs *func_list)
{
*func_list = wave_funcs;
- waveDevice = AppendDeviceList("Wave File Writer");
+ AppendDeviceList(waveDevice);
AppendAllDeviceList(waveDevice);
}