mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-28 21:38:46 +00:00
fix for edge cases with 6.1 ch track
This commit is contained in:
parent
fe49d12df3
commit
dfb63e9965
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ export const buildExoAudioTrackName = (t: any, i: number): string => {
|
|||
const ch = channelCount ?? t.channelCount ?? null;
|
||||
if (ch != null && ch > 0) {
|
||||
if (ch === 8) parts.push('7.1');
|
||||
else if (ch === 7) parts.push('6.1');
|
||||
else if (ch === 6) parts.push('5.1');
|
||||
else if (ch === 2) parts.push('2.0');
|
||||
else if (ch === 1) parts.push('Mono');
|
||||
|
|
|
|||
Loading…
Reference in a new issue