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
This commit is contained in:
Mikhail Naganov
2022-03-23 00:09:55 +00:00
parent 8b5fd8d37b
commit 52ca76ed07

View File

@@ -32,12 +32,12 @@ parcelable AudioPortMixExt {
AudioPortMixExtUseCase usecase; AudioPortMixExtUseCase usecase;
/** /**
* Maximum number of input or output streams that can be simultaneously * Maximum number of input or output streams that can be simultaneously
* opened for this port. * opened for this port. '0' means 'unlimited'.
*/ */
int maxOpenStreamCount; int maxOpenStreamCount;
/** /**
* Maximum number of input or output streams that can be simultaneously * 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; int maxActiveStreamCount;
/** Mute duration while changing device, when used for output. */ /** Mute duration while changing device, when used for output. */