Allow OFFLOAD timestamp correction for MSD/BUS combinations

Test: audioflinger dumpsys for MSD BUS offload threads show
      timestamp correction enabled
Change-Id: I044aaa5d1754ea08b3c78de75e7a4f0bc58dd269
gugelfrei
Dean Wheatley 5 years ago
parent 0287266a3e
commit f8726f0087

@ -1825,7 +1825,7 @@ AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& audioFlinge
// 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",

Loading…
Cancel
Save