From 52ca76ed07d48f1d9b884a7082dd7481e35eb5c8 Mon Sep 17 00:00:00 2001 From: Mikhail Naganov Date: Wed, 23 Mar 2022 00:09:55 +0000 Subject: [PATCH] audio: Clarify comments on AudioPortMixExt fields Specify that '0' means 'unlimited' for AudioPortMixExt.maxOpenStreamCount, and 'all opened streams' for maxActiveStreamCount. Bug: 205884982 Test: N/A Change-Id: Ia212fef049778a85046e3333faa0ddf8fe167c1f --- media/aidl/android/media/audio/common/AudioPortMixExt.aidl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/aidl/android/media/audio/common/AudioPortMixExt.aidl b/media/aidl/android/media/audio/common/AudioPortMixExt.aidl index f3613a4ae31f3..eb117eca52bd9 100644 --- a/media/aidl/android/media/audio/common/AudioPortMixExt.aidl +++ b/media/aidl/android/media/audio/common/AudioPortMixExt.aidl @@ -32,12 +32,12 @@ parcelable AudioPortMixExt { AudioPortMixExtUseCase usecase; /** * Maximum number of input or output streams that can be simultaneously - * opened for this port. + * opened for this port. '0' means 'unlimited'. */ int maxOpenStreamCount; /** * Maximum number of input or output streams that can be simultaneously - * active for this port. + * active for this port. '0' means 'all opened streams'. */ int maxActiveStreamCount; /** Mute duration while changing device, when used for output. */