Allow OFFLOAD timestamp correction for MSD/BUS combinations
Test: audioflinger dumpsys for MSD BUS offload threads show
timestamp correction enabled
Change-Id: I044aaa5d1754ea08b3c78de75e7a4f0bc58dd269
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 59ffff1..5ccdd6f 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -1825,7 +1825,7 @@
// TODO: We may also match on address as well as device type for
// AUDIO_DEVICE_OUT_BUS, AUDIO_DEVICE_OUT_ALL_A2DP, AUDIO_DEVICE_OUT_REMOTE_SUBMIX
- if (type == MIXER || type == DIRECT) {
+ if (type == MIXER || type == DIRECT || type == OFFLOAD) {
// TODO: This property should be ensure that only contains one single device type.
mTimestampCorrectedDevice = (audio_devices_t)property_get_int64(
"audio.timestamp.corrected_output_device",