mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
audio: Add presentation and latency control to IStreamOut
Add the following methods to IStreamOut: - get/setAudioDescriptionMixLevel; - get/setDualMonoMode; - getRecommendedLatencyModes/setLatencyMode; - get/setPlaybackRateParameters; - selectPresentation. Add IStreamOutEventCallback interface for async notifications of the client about playback-related events. This callback can be provided to IModule.openOutputStream. Bug: 205884982 Test: atest VtsHalAudioCoreTargetTest Change-Id: I8974102d232cdd121a53edccbf26c33778a94e5e
This commit is contained in:
@@ -603,6 +603,13 @@ ndk::ScopedAStatus Module::openOutputStream(const OpenOutputStreamArguments& in_
|
||||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus Module::getSupportedPlaybackRateFactors(
|
||||
SupportedPlaybackRateFactors* _aidl_return) {
|
||||
LOG(DEBUG) << __func__;
|
||||
(void)_aidl_return;
|
||||
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus Module::setAudioPatch(const AudioPatch& in_requested, AudioPatch* _aidl_return) {
|
||||
LOG(DEBUG) << __func__ << ": requested patch " << in_requested.toString();
|
||||
if (in_requested.sourcePortConfigIds.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user