hal: optimize device switch latency with bt headset connected
When BT headset is connected and an output is created, the BT encoder latency will be be taken into account for overall output latency. This will append more latency during device switch, as the output latency represents the buffers to be drained before switching to a new device. Exclude the encoder latency when creating the output instance, then the output latency can reflect to actual buffer size in driver and dsp. Change-Id: I94109f58f9e7fe69bec4a46d1f7f12558f1cb91a
Loading
Please register or sign in to comment