commit | 0113e30349567adc43cfae7125d9192ed03fccd7 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jul 17 14:36:08 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Fri Aug 11 14:17:45 2023 -0700 |
tree | 7f79641a82c8dd81e31d9083f73f09f7f29d7ead | |
parent | f9e248b693db7c6498d53b792e180f68d4fa5c04 [diff] [blame] |
AudioFlinger: Create PatchPanel callback Test: atest AudioTrackTest AudioRecordTest Test: Camera YouTube Bug: 291319167 Merged-In: I3b851a1b1b50edd76305957c8b91521e0cb1d23d Change-Id: I3b851a1b1b50edd76305957c8b91521e0cb1d23d
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index f16a02a..6763519 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp
@@ -412,6 +412,7 @@ mAAudioHwBurstMinMicros = getAAudioHardwareBurstMinUsecFromSystemProperty(); } + mPatchPanel = IAfPatchPanel::create(sp<IAfPatchPanelCallback>::fromExisting(this)); mMelReporter = sp<MelReporter>::make(sp<IAfMelReporterCallback>::fromExisting(this)); }