svn tag MacOSX1-3_Spec1-1 same as IOS version
chris <[email protected]> Thu, 05 May 2011 21:06:26 +0200
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Hi Today i did a svn checkout of tag MacOSX1-3_Spec1-1. Is this the source for the iOS Version as well ? By taking a look at aolSource.cpp the following lines in bool OALSource::ConeAttenuation() can lead to numerical Problems i think: // calculate the angle between the cone direction vector and the source to listener vector angle = 180.0 * acos (aluDotproduct(vsl, coneDirection))/M_PI; // convert from radians to degrees in my case i set a directional sound source directly into listener "at" line, which should lead to a dot-product equal 1.0. In real world it leads to 1.0+epsilon and acos() to about 1.0 which mutes my sound source. Am I correct? And can this explain my muted sound in iOS4.2. Thanks in advance Chris _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal