Append the driver and its version to the AL version string

This commit is contained in:
Chris Robinson 2008-10-25 15:48:17 -07:00
parent 8fc4a3b724
commit 301a4c4a95
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@
#include "alState.h"
static const ALchar alVendor[] = "OpenAL Community";
static const ALchar alVersion[] = "1.1";
static const ALchar alVersion[] = "1.1 ALSOFT "ALSOFT_VERSION;
static const ALchar alRenderer[] = "OpenAL Soft";
// Error Messages

View File

@ -1,6 +1,9 @@
#ifndef CONFIG_H
#define CONFIG_H
/* Define to the library version */
#define ALSOFT_VERSION "${LIB_VERSION}"
/* Define if we have the ALSA backend */
#cmakedefine HAVE_ALSA