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/portaudio.c | |
parent | 81db01ebf1d6b608339b5288785f3c514dbcff27 (diff) |
Store copies of the device names in the individual backends
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r-- | Alc/portaudio.c | 4 |
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); } |