Skip to content
Snippets Groups Projects
Commit 539f45ae authored by Shunkai Yao's avatar Shunkai Yao
Browse files

Update AudioFormat setChannelMask comment

Remove the outdated max output channel positions comment

Bug: 282915771
Test: m docs
Change-Id: Ic5a9cd2288d14ac75bad962a761dff2a3b07b273
parent fc916490
No related branches found
No related tags found
No related merge requests found
......@@ -1282,10 +1282,8 @@ public final class AudioFormat implements Parcelable {
* {@link AudioFormat#CHANNEL_OUT_BACK_CENTER},
* {@link AudioFormat#CHANNEL_OUT_SIDE_LEFT},
* {@link AudioFormat#CHANNEL_OUT_SIDE_RIGHT}.
* <p> For a valid {@link AudioTrack} channel position mask,
* the following conditions apply:
* <br> (1) at most eight channel positions may be used;
* <br> (2) right/left pairs should be matched.
* <p> For output or {@link AudioTrack}, channel position masks which do not contain
* matched left/right pairs are invalid.
* <p> For input or {@link AudioRecord}, the mask should be
* {@link AudioFormat#CHANNEL_IN_MONO} or
* {@link AudioFormat#CHANNEL_IN_STEREO}. {@link AudioFormat#CHANNEL_IN_MONO} is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment