Bug 904784: backout original Beta version of this patch to reland with bug 899159 rs=me a=bajaj on a CLOSED TREE
Bug 899159: (beta 24 version) clean up record issues in webrtc OpenSLES code + wallpaper r=padenot,derf,mwu a=bajaj on a CLOSED TREE
Bug 904784: use a separate critical section for the recording callback r=mwu a=bajaj on a CLOSED TREE