OpenAL Internal name

-Now there is an internal name for openal and a default name for the device to be displayed
This commit is contained in:
marauder2k7 2022-08-16 15:55:56 +01:00
parent 52dc5cf3da
commit 3eca15cb31
6 changed files with 33 additions and 14 deletions

View file

@ -32,6 +32,7 @@
typedef struct
{
char strDeviceName[256];
char strInternalDeviceName[256];
S32 iMajorVersion;
S32 iMinorVersion;
U32 uiSourceCount;
@ -52,6 +53,7 @@ public:
~ALDeviceList ();
S32 GetNumDevices();
const char *GetDeviceName(S32 index);
const char *GetInternalDeviceName(S32 index);
void GetDeviceVersion(S32 index, S32 *major, S32 *minor);
U32 GetMaxNumSources(S32 index);
bool IsExtensionSupported(S32 index, SFXALCaps caps);