diff options
author | Chris Robinson <[email protected]> | 2008-10-25 15:48:17 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-10-25 15:48:17 -0700 |
commit | 301a4c4a95118586aefcce7cad93acfdd4870963 (patch) | |
tree | c1b023511376475315dfcc8de831307df584635c | |
parent | 8fc4a3b724df11ee7a54780d0e5a89d5d91f0fd9 (diff) |
Append the driver and its version to the AL version string
-rw-r--r-- | OpenAL32/alState.c | 2 | ||||
-rw-r--r-- | config.h.in | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index c577ea8d..0a01dc37 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -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 diff --git a/config.h.in b/config.h.in index 236b653a..9cc80eeb 100644 --- a/config.h.in +++ b/config.h.in @@ -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 |