mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Extend Nexus Player mono workaround to Oreo
The platform fix was merged into O MR1, not O. Nexus Player has not received this build. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=206734342
This commit is contained in:
parent
19d24ac633
commit
e2bf474c1e
1 changed files with 1 additions and 1 deletions
|
|
@ -1146,7 +1146,7 @@ public final class DefaultAudioSink implements AudioSink {
|
|||
|
||||
// Workaround for Nexus Player not reporting support for mono passthrough.
|
||||
// (See [Internal: b/34268671].)
|
||||
if (Util.SDK_INT <= 25 && "fugu".equals(Util.DEVICE) && !isInputPcm && channelCount == 1) {
|
||||
if (Util.SDK_INT <= 26 && "fugu".equals(Util.DEVICE) && !isInputPcm && channelCount == 1) {
|
||||
channelCount = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue