• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revision9db04a2c01d86e3948f562da2c3ecaa67f8288f0 (tree)
Zeit2017-04-12 11:26:47
AutorPavlin Radoslavov <pavlin@goog...>
CommiterPavlin Radoslavov

Log Message

Reduce the audio A2DP HAL output audio stream buffer size

Reduce the audio A2DP HAL output audio stream buffer size
(per constant AUDIO_STREAM_OUTPUT_BUFFER_PERIODS) from 4 to 2.
After the change, the output buffer size is double the buffer period.

Bug: 35849921
Test: A2DP streaming with various codec settings. Testplans/83305.
Change-Id: I2a15d468e748a03b481bf2117903ab06cddd02a3
(cherry picked from commit 5e9f56940e1865d16892639e4c9144a65547626e)

Ändern Zusammenfassung

Diff

--- a/audio_a2dp_hw/include/audio_a2dp_hw.h
+++ b/audio_a2dp_hw/include/audio_a2dp_hw.h
@@ -71,7 +71,7 @@
7171 //
7272 // to avoid introducing the FastMixer in AudioFlinger. Using the FastMixer
7373 // results in unnecessary latency and CPU overhead for Bluetooth.
74-#define AUDIO_STREAM_OUTPUT_BUFFER_PERIODS 4
74+#define AUDIO_STREAM_OUTPUT_BUFFER_PERIODS 2
7575
7676 #define AUDIO_SKT_DISCONNECTED (-1)
7777