Add if else statement for audio downmixing support
(cherry picked from commit d5c5bcc41c)
This commit is contained in:
committed by
Niels van Velzen
parent
d661c2faf3
commit
65a7bbf501
@@ -205,7 +205,8 @@ class ExoPlayerProfile(
|
||||
})
|
||||
}
|
||||
// Audio channel profile
|
||||
add(maxAudioChannelsCodecProfile(channels = 8))
|
||||
if (!Utils.downMixAudio(context)) add(maxAudioChannelsCodecProfile(channels = 8))
|
||||
else add(maxAudioChannelsCodecProfile(channels = 2))
|
||||
}.toTypedArray()
|
||||
|
||||
subtitleProfiles = arrayOf(
|
||||
|
||||
Reference in New Issue
Block a user