mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Add comment for workaround
This commit is contained in:
parent
efc8f6fe42
commit
0d135d37b8
1 changed files with 2 additions and 0 deletions
|
|
@ -443,6 +443,8 @@ public final class AudioTrack {
|
|||
default:
|
||||
throw new IllegalArgumentException("Unsupported channel count: " + channelCount);
|
||||
}
|
||||
|
||||
// Workaround for overly strict channel configuration checks on nVidia Shield.
|
||||
if (Util.SDK_INT <= 23 && "foster".equals(Util.DEVICE) && "NVIDIA".equals(Util.MANUFACTURER)) {
|
||||
switch(channelCount) {
|
||||
case 7:
|
||||
|
|
|
|||
Loading…
Reference in a new issue