Re: svn tag MacOSX1-3_Spec1-1 same as IOS version

Bob Aron <[email protected]> Thu, 05 May 2011 13:26:59 -0700
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
These sources are only for the OSX implementation but that particular code may be the same. I'll take a look. It would be helpful though if you could write bug for the behavior you are seeing on iOS.

-bob

On May 5, 2011, at 12:06 PM, chris wrote:

> 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

________________________________
CoreAudio Team, Apple Inc.
[email protected]

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal