Race condition in some iOS devices.

Daniel Varela <[email protected]> Fri, 1 Mar 2013 16:28:50 +0000
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
--===============0225846580==
Content-Type: multipart/alternative; boundary="=-GQCxyRPdlpp9GY+wAejL"

--=-GQCxyRPdlpp9GY+wAejL
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello=2E
=20
As described in this link=2C there is a race condition in some iOS devices=
 in which subsequent callings to pause resume over an OpenAL source voice d=
oes not works=2E
Before we just fixed it by calling alSourcePlay twice when resuming the sou=
nd=2C but it causes the buffer to restart and we need to have several track=
s synchronized for interactive music purposes and this solution is no longe=
r valid=2E
=20
I was wondering if someone has experienced the same issue=2E
=20
Thanks=2E
=20
Daniel Varela =7C Audio Programmer
Tech Team =7C Blitz Games Studios Ltd=2E



***********
Blitz Games Studios Limited is registered in England =28company no=3A 24829=
13=29 with registered office at Regent Square House=2C The Parade=2C Leamin=
gton Spa=2C Warwickshire=2C CV32 4NL=2C UK=2E This message is intended sole=
ly for the addressee and may contain confidential information=2E If you hav=
e received this message in error please send it back to us and immediately=
 and permanently delete it from your system=2E Do not use=2C copy or disclo=
se the information contained in this message or in any attachment=2E Please=
 also note that transmission cannot be guaranteed to be secure or error-fre=
e=2E
***********




--=-GQCxyRPdlpp9GY+wAejL
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3Chtml xmlns=3Av=3D=22urn=3Aschemas-microsoft-com=3Avml=22 xmlns=3Ao=3D=22=
urn=3Aschemas-microsoft-com=3Aoffice=3Aoffice=22 xmlns=3Aw=3D=22urn=3Aschem=
as-microsoft-com=3Aoffice=3Aword=22 xmlns=3Am=3D=22http=3A//schemas=2Emicro=
soft=2Ecom/office/2004/12/omml=22 xmlns=3D=22http=3A//www=2Ew3=2Eorg/TR/REC=
-html40=22=3E=3Chead=3E=3Cmeta http-equiv=3DContent-Type content=3D=22text/=
html=3B charset=3Dus-ascii=22=3E=3Cmeta name=3DGenerator content=3D=22Micro=
soft Word 12 =28filtered medium=29=22=3E=3Cstyle=3E=3C!--
/* Font Definitions */
=40font-face
=09=7Bfont-family=3A=22Cambria Math=22=3B
=09panose-1=3A2 4 5 3 5 4 6 3 2 4=3B=7D
=40font-face
=09=7Bfont-family=3ACalibri=3B
=09panose-1=3A2 15 5 2 2 2 4 3 2 4=3B=7D
/* Style Definitions */
p=2EMsoNormal=2C li=2EMsoNormal=2C div=2EMsoNormal
=09=7Bmargin=3A0cm=3B
=09margin-bottom=3A=2E0001pt=3B
=09font-size=3A11=2E0pt=3B
=09font-family=3A=22Calibri=22=2C=22sans-serif=22=3B=7D
a=3Alink=2C span=2EMsoHyperlink
=09=7Bmso-style-priority=3A99=3B
=09color=3Ablue=3B
=09text-decoration=3Aunderline=3B=7D
a=3Avisited=2C span=2EMsoHyperlinkFollowed
=09=7Bmso-style-priority=3A99=3B
=09color=3Apurple=3B
=09text-decoration=3Aunderline=3B=7D
span=2EEmailStyle17
=09=7Bmso-style-type=3Apersonal-compose=3B
=09font-family=3A=22Calibri=22=2C=22sans-serif=22=3B
=09color=3Awindowtext=3B=7D
=2EMsoChpDefault
=09=7Bmso-style-type=3Aexport-only=3B=7D
=40page WordSection1
=09=7Bsize=3A612=2E0pt 792=2E0pt=3B
=09margin=3A72=2E0pt 72=2E0pt 72=2E0pt 72=2E0pt=3B=7D
div=2EWordSection1
=09=7Bpage=3AWordSection1=3B=7D
--=3E=3C/style=3E=3C!--=5Bif gte mso 9=5D=3E=3Cxml=3E
=3Co=3Ashapedefaults v=3Aext=3D=22edit=22 spidmax=3D=221026=22 /=3E
=3C/xml=3E=3C!=5Bendif=5D--=3E=3C!--=5Bif gte mso 9=5D=3E=3Cxml=3E
=3Co=3Ashapelayout v=3Aext=3D=22edit=22=3E
=3Co=3Aidmap v=3Aext=3D=22edit=22 data=3D=221=22 /=3E
=3C/o=3Ashapelayout=3E=3C/xml=3E=3C!=5Bendif=5D--=3E=3C/head=3E=3Cbody lang=
=3DEN-GB link=3Dblue vlink=3Dpurple=3E=3Cdiv class=3DWordSection1=3E=3Cp cl=
ass=3DMsoNormal=3EHello=2E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNo=
rmal=3E=3Co=3Ap=3E=26nbsp=3B=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3EAs=
 described in =3Ca href=3D=22http=3A//openradar=2Eappspot=2Ecom/10081775=22=
=3Ethis link=3C/a=3E=2C there is a race condition in some iOS devices in wh=
ich subsequent callings to pause resume over an OpenAL source voice does no=
t works=2E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3EBefore we=
 just fixed it by calling alSourcePlay twice when resuming the sound=2C but=
 it causes the buffer to restart and we need to have several tracks synchro=
nized for interactive music purposes and this solution is no longer valid=
=2E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3E=3Co=3Ap=3E=26nb=
sp=3B=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3EI was wondering if someon=
e has experienced the same issue=2E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/p=3E=3Cp clas=
s=3DMsoNormal=3E=3Co=3Ap=3E=26nbsp=3B=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNo=
rmal=3EThanks=2E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3E=3C=
o=3Ap=3E=26nbsp=3B=3C/o=3Ap=3E=3C/p=3E=3Cp class=3DMsoNormal=3E=3Cb=3E=3Csp=
an style=3D=27font-size=3A10=2E0pt=3Bcolor=3Ablack=27=3EDaniel Varela=3C/sp=
an=3E=3C/b=3E=3Cspan style=3D=27font-size=3A10=2E0pt=3Bcolor=3Ablack=27=3E=
 =7C =3C/span=3E=3Ci=3E=3Cspan style=3D=27font-size=3A10=2E0pt=3Bcolor=3A=
=23C00000=27=3EAudio Programmer=3C/span=3E=3C/i=3E=3Cspan style=3D=27font-s=
ize=3A10=2E0pt=3Bcolor=3Ablack=27=3E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/span=3E=3C/p=
=3E=3Cp class=3DMsoNormal=3E=3Cb=3E=3Cspan style=3D=27font-size=3A8=2E0pt=
=3Bcolor=3Ablack=27=3ETech Team =3C/span=3E=3C/b=3E=3Cspan style=3D=27font-=
size=3A8=2E0pt=3Bcolor=3Ablack=27=3E=7C=3Cb=3E =3C/b=3EBlitz Games Studios=
 Ltd=2E=3Cb=3E=3Co=3Ap=3E=3C/o=3Ap=3E=3C/b=3E=3C/span=3E=3C/p=3E=3Cp class=
=3DMsoNormal=3E=3Co=3Ap=3E=26nbsp=3B=3C/o=3Ap=3E=3C/p=3E=3C/div=3E=
=3CBR /=3E
=3CBR /=3E
=3Cfont size=3D=221=22=3E=3Cbr=3E***********=3Cbr=3EBlitz Games Studios Lim=
ited is registered in England =28company no=3A 2482913=29 with registered o=
ffice at Regent Square House=2C The Parade=2C Leamington Spa=2C Warwickshir=
e=2C CV32 4NL=2C UK=2E This message is intended solely for the addressee an=
d may contain confidential information=2E If you have received this message=
 in error please send it back to us and immediately and permanently delete=
 it from your system=2E Do not use=2C copy or disclose the information cont=
ained in this message or in any attachment=2E Please also note that transmi=
ssion cannot be guaranteed to be secure or error-free=2E=3Cbr=3E***********=
=3C/font=3E=3Cbr=3E=3Cbr=3E=3Cbr=3E=3CBR /=3E
=3C/body=3E=3C/html=3E=


--=-GQCxyRPdlpp9GY+wAejL--


--===============0225846580==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0225846580==--