Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e5d9e46 authored by Dean Wheatley's avatar Dean Wheatley
Browse files

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
parent bfb05313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment