Disable fast capture for non PCM
The frame count for compressed format record threads is not, in general, pcm referred and equals the HAL buffer size (because the frame size for compressed format threads is 1). The capture buffer size in milliseconds cannot be known in advance for compresed formats because the bitrate of the compressed stream is not known ahead of time, so disable the fast path. Test: media.audio_flinger dumpsys and check RecordThread for e-ac3-joc does not have fast capture enabled. Change-Id: Ibbfd9375481679f7a2d92e36ec1ab9a5e6f42b40
Loading
Please register or sign in to comment