Add issue link for AudioCapabilities
This commit is contained in:
parent
cb29e8fb3d
commit
424b5d8d0e
@ -229,8 +229,8 @@ public final class AudioCapabilities {
|
|||||||
channelCount = getMaxSupportedChannelCountForPassthrough(encoding, sampleRate);
|
channelCount = getMaxSupportedChannelCountForPassthrough(encoding, sampleRate);
|
||||||
} else {
|
} else {
|
||||||
channelCount = format.channelCount;
|
channelCount = format.channelCount;
|
||||||
// To file a Bug: Some DTS:X TVs reports ACTION_HDMI_AUDIO_PLUG.EXTRA_MAX_CHANNEL_COUNT as 8
|
// Some DTS:X TVs reports ACTION_HDMI_AUDIO_PLUG.EXTRA_MAX_CHANNEL_COUNT as 8
|
||||||
// instead of 10.
|
// instead of 10. See https://github.com/androidx/media/issues/396
|
||||||
if (format.sampleMimeType == MimeTypes.AUDIO_DTS_X) {
|
if (format.sampleMimeType == MimeTypes.AUDIO_DTS_X) {
|
||||||
if (channelCount > 10) {
|
if (channelCount > 10) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user