@Mailaender: That is consistent with the query interfaces in GL, which the
AL API is modeled on.


On Thu, May 8, 2014 at 4:41 PM, Matthias Mailänder <notifications@github.com
> wrote:

> In OpenRA.Game/Sound.cs:
>
> > @@ -747,8 +748,8 @@ public float SeekPosition
> >  		{
> >  			get
> >  			{
> > -				float pos;
> > -				Al.alGetSourcef(Source, Al.AL_SAMPLE_OFFSET, out pos);
> > +				int pos;
> > +				AL.GetSource(Source, ALGetSourcei.SampleOffset, out pos);
> >  				return pos / 22050f;
>
> According to
> http://www.opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/al/al.hit can be both so I don't think this is necessarily wrong here nor requires
> an upstream fix.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/OpenRA/OpenRA/pull/5248/files#r12415154>
> .
>