Re: release version problem
uray meiviar <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
hi, I have 1 listener, 1 source, the listener is placed at center, while the source is circling the listener horizontally, in debug mode I heard that the sound is moving from left of my earphone to the right while the source is circling the listener, but on release version, both left and right earphone are equally loud and no fluctuation in volume and I don't feel sound movement. the source is fixed at 1.0f gain and 1.0f pitch, no speed value is specified, and looping. thanks ________________________________ From: Daniel PEACOCK <[email protected]> To: uray meiviar <[email protected]> Cc: openal mailinglist <[email protected]> Sent: Thu, April 8, 2010 2:20:02 PM Subject: Re: [Openal] release version problem Hi, I'm not too familiar with those compiler settings to know if that means for 100% certain that no uninitialized variables are being passed to OpenAL. Can you give some more details about the problem that occurs in Release vs Debug builds? e.g When you say that sounds are not spatialized ... does that mean that the sounds seem to play from the same location as the listener (resulting in all sounds playing from all speakers)? Are the sounds at full volume or is any attenuation happening? 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 uray meiviar <[email protected]> uray meiviar <[email protected]> 04/08/2010 01:51 PM To Daniel PEACOCK <[email protected]> cc openal mailinglist <[email protected]> Subject Re: [Openal] release version problem 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 ForwardSourceID:NT0007B11A _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal