Fix OAL crash

This commit is contained in:
Sergeanur 2020-05-24 01:06:19 +03:00
commit 7d30878418
4 changed files with 10 additions and 8 deletions

View file

@ -8,15 +8,20 @@
#include <vector>
#include <string>
typedef struct
{
struct ALDEVICEINFO {
std::string strDeviceName;
int iMajorVersion;
int iMinorVersion;
unsigned int uiSourceCount;
std::vector<std::string> *pvstrExtensions;
bool bSelected;
} ALDEVICEINFO, *LPALDEVICEINFO;
ALDEVICEINFO() : iMajorVersion(0), iMinorVersion(0), uiSourceCount(0), pvstrExtensions(NULL), bSelected(false)
{
}
};
typedef ALDEVICEINFO *LPALDEVICEINFO;
class ALDeviceList
{