aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
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);
}