From 45dc8048193162edbb886921cfcf2955c5232626 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 27 Aug 2009 01:47:41 -0700 Subject: Store copies of the device names in the individual backends --- OpenAL32/Include/alMain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 9eb32e59..4713c704 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -187,7 +187,7 @@ struct ALCdevice_struct ALuint BufferSize; ALenum Format; - ALCchar *szDeviceName; + const ALCchar *szDeviceName; // Maximum number of sources that can be created ALuint MaxNoOfSources; @@ -273,9 +273,9 @@ struct ALCcontext_struct ALCvoid ReleaseALC(ALCvoid); -ALCchar *AppendDeviceList(char *name); -ALCchar *AppendAllDeviceList(char *name); -ALCchar *AppendCaptureDeviceList(char *name); +void AppendDeviceList(const ALCchar *name); +void AppendAllDeviceList(const ALCchar *name); +void AppendCaptureDeviceList(const ALCchar *name); ALCvoid SetALCError(ALenum errorCode); -- cgit v1.2.3