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

Commit be284ebf authored by Shunkai Yao's avatar Shunkai Yao
Browse files

Update AudioFormat setChannelMask comment

Bug: 282915771
Test: m
Change-Id: Ief15b6e79a1f0f3429726e98a91f8ca0def9637d
parent a199526d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1240,7 +1240,8 @@ public final class AudioFormat implements Parcelable {
         *    {@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> (1) at most {@link AudioSystem#OUT_CHANNEL_COUNT_MAX} channel positions may be
         *    used;
         *    <br> (2) right/left pairs should be matched.
         *    <p> For input or {@link AudioRecord}, the mask should be
         *    {@link AudioFormat#CHANNEL_IN_MONO} or