From 4b252bc49431306f476acae1f64589e6ed187559 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 1 Mar 2012 01:03:37 -0800 Subject: Constify a couple string pointers --- Alc/backends/pulseaudio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 5659e44e..2376a584 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -888,7 +888,7 @@ static void pulse_close(ALCdevice *device) //{{{ // OpenAL {{{ static ALCenum pulse_open_playback(ALCdevice *device, const ALCchar *device_name) //{{{ { - char *pulse_name = NULL; + const char *pulse_name = NULL; pa_sample_spec spec; pa_stream *stream; pulse_data *data; @@ -1150,10 +1150,10 @@ static void pulse_stop_playback(ALCdevice *device) //{{{ static ALCenum pulse_open_capture(ALCdevice *device, const ALCchar *device_name) //{{{ { - char *pulse_name = NULL; - pulse_data *data; + const char *pulse_name = NULL; pa_stream_flags_t flags = 0; pa_channel_map chanmap; + pulse_data *data; ALuint samples; if(!allCaptureDevNameMap) -- cgit v1.2.3