Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#268 closed defect (fixed)

OpenAL string specifications are identified incorrectly

Reported by: espes Owned by: Simon Brenner
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

from lib/external_libraries/openal.h, line 34:

// ALC strings (e.g. device and extension names) are typed differently
// between platforms *sigh*
#if OS_MACOSX
typedef ALCubyte* alcString;
#else
typedef ALCchar* alcString;
#endif

This is incorrect, and creates compilation errors. It is not platform dependent - using ALCubyte was changed to using ALCchar in the 1.1 spec of OpenAL. It should be identified through AL_VERSION_1_1 (Unless you can think of a better way, it's not 100% accurate)

A fix is attached.

Attachments (1)

patch-openal.h.diff (587 bytes ) - added by espes 15 years ago.

Download all attachments as: .zip

Change History (5)

by espes, 15 years ago

Attachment: patch-openal.h.diff added

comment:1 by espes, 15 years ago

Type: taskdefect

comment:2 by Simon Brenner, 15 years ago

Owner: set to Simon Brenner

comment:3 by Simon Brenner, 15 years ago

Resolution: fixed
Status: newclosed

comment:4 by (none), 14 years ago

Milestone: Open Source Release

Milestone Open Source Release deleted

Note: See TracTickets for help on using tickets.