Made qal.h C++ aware

This commit is contained in:
smallmodel 2024-01-09 23:28:01 +01:00
parent aac9dd40de
commit 46aa58d0cd
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -55,6 +55,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# define ALC_ALL_DEVICES_SPECIFIER 0x1013
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef USE_OPENAL_DLOPEN
extern LPALENABLE qalEnable;
extern LPALDISABLE qalDisable;
@ -248,4 +252,8 @@ extern LPALCCAPTURESAMPLES qalcCaptureSamples;
qboolean QAL_Init(const char *libname);
void QAL_Shutdown( void );
#ifdef __cplusplus
}
#endif
#endif // __QAL_H__