Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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