Skip to content

Commit

Permalink
Reverted MediaCodecinfo adjustMaxInputChannelCount to ignore the 1 ch…
Browse files Browse the repository at this point in the history
…annel response
  • Loading branch information
ProtoScott committed Jul 22, 2021
1 parent 83d2c39 commit 3003fc9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,6 @@ private static int adjustMaxInputChannelCount(String name, String mimeType, int
|| MimeTypes.AUDIO_FLAC.equals(mimeType)
|| MimeTypes.AUDIO_ALAW.equals(mimeType)
|| MimeTypes.AUDIO_MLAW.equals(mimeType)
|| MimeTypes.AUDIO_DTS.equals(mimeType)
|| MimeTypes.AUDIO_DTS_HD.equals(mimeType)
|| MimeTypes.AUDIO_DTS_EXPRESS.equals(mimeType)
|| MimeTypes.AUDIO_DTS_X.equals(mimeType)
|| MimeTypes.AUDIO_MSGSM.equals(mimeType)) {
// Platform code should have set a default.
return maxChannelCount;
Expand Down

0 comments on commit 3003fc9

Please sign in to comment.