Merge "Fix a compiling error when trying to use setBufferCount"