CRAS: audio_thread - Base request size on adjusted level.

The amount of frames to request needs to be based on the adjusted
level in order to fill the buffer to the desired actual level.  If
hw_level is used here instead the output buffer will not have the
padding it needs.

BUG=none
TEST=play audio to USB and A2DP, check for dropouts.

Change-Id: I90029632c3bbaad7a9a087a4ba675a76f37a8ab0
Signed-off-by: Dylan Reid <dgreid@chromium.org>
replace with upstream fr_to_req change

Change-Id: I1485f9658c6ba3cb942af018476d4bb39c5875f4
Set frame count based on number of times encode is called

Change-Id: If90f446bf6011a6441db69ca802a4fcbb62aafbd
Increase a2cp pcm buffer size to 16k frames

Change-Id: I46aa2c8cdcb4f689acb6bee3369f8e4b51b965bc
squash with normal buffer

Change-Id: If17137ecd47a87041c46d2a132a12f65083333ba
set min_buffer_level for a2dp iodev

Change-Id: I949180fa96b41781fcb43636f0138065bc8c3657
doesn\'t hit eagain, but doesn\'t glitch

Change-Id: I258fa2ef1a922833439125e27ac6637c3e4e48b6