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

Commit abc11741 authored by Robert Wu's avatar Robert Wu
Browse files

Bluetooth audio HAL: increase buffer size

Increase buffer size to 10ms because there are too many glitches at 2ms. This is effectively reversing aosp/1793455.

Bug: 228656306
Change-Id: I041e95893179f0c09ea9934a0f4d5b8885f347c2
Test: Media playback with Tiktok, Youtube, Twitch
Test: OboeTester Test Output
parent 634fb41d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ constexpr audio_format_t kBluetoothDefaultAudioFormatBitsPerSample =
constexpr unsigned int kBluetoothDefaultInputBufferMs = 20;
constexpr unsigned int kBluetoothDefaultInputStateTimeoutMs = 20;

constexpr unsigned int kBluetoothDefaultOutputBufferMs = 2;
constexpr unsigned int kBluetoothDefaultOutputBufferMs = 10;
constexpr unsigned int kBluetoothSpatializerOutputBufferMs = 10;

constexpr audio_channel_mask_t kBluetoothDefaultOutputChannelModeMask =