mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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:
|
default:
|
||||||
throw new IllegalArgumentException("Unsupported channel count: " + channelCount);
|
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)) {
|
if (Util.SDK_INT <= 23 && "foster".equals(Util.DEVICE) && "NVIDIA".equals(Util.MANUFACTURER)) {
|
||||||
switch(channelCount) {
|
switch(channelCount) {
|
||||||
case 7:
|
case 7:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue