Re: release version problem
uray meiviar <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for quick reply. I solved it by set compiler (visual studio) settings to /RTCs (Stack Frames) in "Basic Runtime check" for release build of my application. but if I turn off /RTCu (uninitialized variables) the program still run ok as long as /RTCs is set, so it doesn't need /RTCu. in that case I think its not because of uninitialized var. what's another possibility related to stack frames? thanks ________________________________ From: Daniel PEACOCK <[email protected]> To: openal mailinglist <[email protected]> Sent: Thu, April 8, 2010 12:39:32 PM Subject: Re: [Openal] release version problem Hi, Are you sure you are not passing uninitialized variables to OpenAL? In a debug build, variables will be set to 0 by default but a release build will not do this - meaning the values will be completely random (and in the case of floats and doubles they might not even be valid numbers). Passing uninitialized values to OpenAL could definitely mess up the 3D Audio spatialization. Which OpenAL device are you requesting in the call to alcOpenDevice? Dan Creative Labs, UK 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 uray meiviar <uraymeiviar@yaho o.com> To Sent by: openal mailinglist openal-bounces@op <[email protected]> ensource.creative cc .com Subject [Openal] release version problem 04/08/2010 11:27 AM hi, I developed openAL App, on Windows 7 x64 using summer 2009 SDK from creative, and I got problem when running release version of my application, the sound seems not to be spatialized, but when I run the debug version of my application, there's no problem sound is spatialized correctly. both release and debug version are using same openal32.lib and I checked using dependency walker both dynamically linked to Windows\System32 \OpenAL32.dll. My soundcard is Realtek HD and Creative X-Fi Titanium both suffer from the same problem. can anyone give me clue where should i fix this? thank you _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal ForwardSourceID:NT0007B0FE _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal