OpenAL SDK header compatibility

View: New views
3 Messages — Rating Filter:   Alert me  

OpenAL SDK header compatibility

by Chris Robinson-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just something of note, in case there's going to be an SDK update. The headers
efx.h and xram.h declare their function pointer types using __cdecl, as
opposed to the more appropriate AL_APIENTRY. Under Windows these are the same
thing, but that's not guaranteed for other OSs (non-Windows systems use the
system/compiler default calling convention). Additionally, the __cdecl keyword
doesn't tend to be valid for non-Windows compilers.

Given that OpenAL Soft supports EFX for Linux/Unix systems, it would be very
nice if these could be changed so developers can more easily use the headers
in cross-platform code.

Thanks in advance. :)
- Chris
_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel

Re: OpenAL SDK header compatibility

by Daniel PEACOCK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message





Hi Chris,

I've made a note here.   Next time we refresh the SDK we'll roll this
change in.

Dan
Creative Labs (UK) Ltd.
Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Creative Labs UK Ltd company number 2658256 registered in England and Wales
at 79 Knightsbridge, London SW1X 7RB


openal-devel-bounces@... wrote on 11/10/2009 01:13:31
PM:

> Just something of note, in case there's going to be an SDK update.
> The headers
> efx.h and xram.h declare their function pointer types using __cdecl, as
> opposed to the more appropriate AL_APIENTRY. Under Windows these arethe
same
> thing, but that's not guaranteed for other OSs (non-Windows systems use
the
> system/compiler default calling convention). Additionally, the
> __cdecl keyword
> doesn't tend to be valid for non-Windows compilers.
>
> Given that OpenAL Soft supports EFX for Linux/Unix systems, it would be
very
> nice if these could be changed so developers can more easily use the
headers
> in cross-platform code.
>
> Thanks in advance. :)
> - Chris
> _______________________________________________
> Openal-devel mailing list
> Openal-devel@...
> http://opensource.creative.com/mailman/listinfo/openal-devel

> ForwardSourceID:NT00076ADE

_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel

Re: OpenAL SDK header compatibility

by Chris Robinson-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 10 November 2009 7:42:41 am Daniel PEACOCK wrote:
> Hi Chris,
>
> I've made a note here.   Next time we refresh the SDK we'll roll this
> change in.

Cool, thanks. :)
_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel