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 /OpenAL32/Include/alMain.h | |
parent | 81db01ebf1d6b608339b5288785f3c514dbcff27 (diff) |
Store copies of the device names in the individual backends
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |