Closed GoogleCodeExporter closed 9 years ago
I have struggled with what seems to be this same bug, but my problem platform
in Win7 x64, Chrome 23.
Removing the extra thread and just calling aluMixData directly from the PPAPI
callback worked for me on the Win7 and Mac versions of Chrome. Thanks Davorin!
But I'd be very interested to hear why the threaded buffering might be
necessary.
I've attached a patch for the version of openalsoft-1.13 which is currently in
naclports.
Original comment by cgreb...@gmail.com
on 8 Dec 2012 at 6:23
Attachments:
I updated OpenALSoft patch to 1.15, my previous link is not valid any more.
Original comment by Davorin....@gmail.com
on 9 Dec 2012 at 6:21
Attachments:
I'm afraid I fixed this issue without seeing this bug or your patches:
https://code.google.com/p/naclports/source/detail?r=699
In regards to the extra thread, I believe that the current recommendation is
that
the PPAPI audio callback should do as little works as possible, so that is why
a seperate thread is used to do the possibly expensive job of mixing the audio
into a buffer. Might be overkill, and your approach could be better, but we'd
need to do a bunch of testing on low end machines to measure the difference.
Original comment by sbc@google.com
on 1 Feb 2013 at 5:56
Closing for now, please re-open if you still have problems, or if you want to
update
the openal version in a separate patch.
Original comment by sbc@google.com
on 1 Feb 2013 at 5:57
Also, if you would rather use git you can use our semi-official git mirror here:
http://git.chromium.org/gitweb/?p=external/naclports.git;a=summary
That way you can mantain you changes as forks on (say) github.
Original comment by sbc@google.com
on 1 Feb 2013 at 5:59
Works for me, thanks!
Original comment by cgreb...@gmail.com
on 10 Apr 2013 at 12:06
Original issue reported on code.google.com by
Davorin....@gmail.com
on 28 Nov 2012 at 10:01