mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Merge pull request #10322 from DolbyLaboratories:dev-v2-multichannel
PiperOrigin-RevId: 454641746
(cherry picked from commit 1c373d5159)
This commit is contained in:
parent
c1f1eb7831
commit
941c5d84b0
1 changed files with 4 additions and 0 deletions
|
|
@ -1644,6 +1644,10 @@ public final class Util {
|
||||||
// 8 ch output is not supported before Android L.
|
// 8 ch output is not supported before Android L.
|
||||||
return AudioFormat.CHANNEL_INVALID;
|
return AudioFormat.CHANNEL_INVALID;
|
||||||
}
|
}
|
||||||
|
case 12:
|
||||||
|
return Util.SDK_INT >= 32
|
||||||
|
? AudioFormat.CHANNEL_OUT_7POINT1POINT4
|
||||||
|
: AudioFormat.CHANNEL_INVALID;
|
||||||
default:
|
default:
|
||||||
return AudioFormat.CHANNEL_INVALID;
|
return AudioFormat.CHANNEL_INVALID;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue