Merge "Use getMinFrameCount() instead of querying AudioSystem directly." into gingerbread