Skip to content

Commit 7a99833

Browse files
committed
minor change
1 parent 6f9dd7c commit 7a99833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/akanework/gramophone/logic/utils/SemanticLyrics.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,8 +1539,8 @@ fun parseTtml(audioMimeType: String?, lyricText: String): SemanticLyrics? {
15391539
isGroup -> SpeakerEntity.Group
15401540
isVoice2 && isBg -> SpeakerEntity.Voice2Background
15411541
isVoice2 -> SpeakerEntity.Voice2
1542-
hasAtLeastTwoPeople && isBg -> SpeakerEntity.Voice1Background
1543-
hasAtLeastTwoPeople -> SpeakerEntity.Voice1
1542+
(hasAtLeastTwoPeople || isOther) && isBg -> SpeakerEntity.Voice1Background
1543+
(hasAtLeastTwoPeople || isOther) -> SpeakerEntity.Voice1
15441544
isBg -> SpeakerEntity.VoiceBackground
15451545
else -> SpeakerEntity.Voice
15461546
}

0 commit comments

Comments
 (0)