aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.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/portaudio.c
parent81db01ebf1d6b608339b5288785f3c514dbcff27 (diff)
Store copies of the device names in the individual backends
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/portaudio.c b/Alc/portaudio.c
index 01e82e73..6d1b6837 100644
--- a/Alc/portaudio.c
+++ b/Alc/portaudio.c
@@ -44,7 +44,7 @@ MAKE_FUNC(Pa_GetDefaultOutputDevice);
#undef MAKE_FUNC
-static char *pa_device;
+static const ALCchar pa_device[] = "PortAudio Software";
typedef struct {
PaStream *stream;
@@ -248,7 +248,7 @@ void alc_pa_init(BackendFuncs *func_list)
return;
}
- pa_device = AppendDeviceList("PortAudio Software");
+ AppendDeviceList(pa_device);
AppendAllDeviceList(pa_device);
}