Created attachment 607290 [details] [diff] [review]
This is a patch from an anonymous silicon vendor contributor. It works for me.
Comment on attachment 607290 [details] [diff] [review]
Hi, we had discussed using a compat header to avoid having to do these ifdef's in gecko.
Created attachment 609091 [details] [diff] [review]
part 1: Import the Gingerbread/Ice Cream Sandwich-compatible audio client code
Created attachment 609092 [details] [diff] [review]
part 2: Port AudioManager and libsydneyaudio to the new import
I'm not enthused about this port but it's going away soon, so OK. Issues
- we "just happen" to be GB and ICS compatible. There's no reason why this should be the case. It's nice that things worked out this way, but the real fix is to directly talk to the audio HAL. That work is underway.
- need to file a followup for the setForce/getForce issue. I don't fully understand what's going wrong in the ICS codebase there.
mwu, please file a followup bug with the reasons why that code is commented out.
Please file followup.
*** Bug 736933 has been marked as a duplicate of this bug. ***