diff options
author | Chris Robinson <[email protected]> | 2012-03-01 01:03:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-01 01:03:37 -0800 |
commit | 4b252bc49431306f476acae1f64589e6ed187559 (patch) | |
tree | 5497e56047beb38b1a9f7733543601c921211543 | |
parent | b192165fb472eca57e7186afb91e1bbdfb7cb37b (diff) |
Constify a couple string pointers
-rw-r--r-- | Alc/backends/pulseaudio.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |