Merge "Allow OFFLOAD timestamp correction for MSD/BUS combinations" am: 74cfcdf823 am: 8cc35dd935
am: e0b975b56a
Change-Id: I0dab7e32ef1489c7eac5972dcca7b7c88d2234d7
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index e3cabcd..357e432 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",