Skip to content

Commit

Permalink
Merge pull request #10322 from DolbyLaboratories:dev-v2-multichannel
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 454641746
  • Loading branch information
marcbaechinger committed Jun 14, 2022
2 parents d2f5f21 + ea8f6a1 commit 1c373d5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,10 @@ public static int getAudioTrackChannelConfig(int channelCount) {
// 8 ch output is not supported before Android L.
return AudioFormat.CHANNEL_INVALID;
}
case 12:
return Util.SDK_INT >= 32
? AudioFormat.CHANNEL_OUT_7POINT1POINT4
: AudioFormat.CHANNEL_INVALID;
default:
return AudioFormat.CHANNEL_INVALID;
}
Expand Down

0 comments on commit 1c373d5

Please sign in to comment.