fix(prettifyAudioTrackNames): only resolve to "Mono Audio" for audio tracks with 1 channel
This commit is contained in:
1 parent
363d5f52ee
commit
1714bc6a42
2 files changed
+2
-2
No files matched your search
@@ -469,7 +469,7 @@ class QueuePrettifyAudioTrackNameAction : NSObject, QueueActionProtocol {
|
||||
let channelCount = Int(audioTrack.formatSummary[range])!
|
||||
|
||||
// Use channel count to determine track name
|
||||
if channelCount < 2 {
|
||||
if channelCount == 1 {
|
||||
audioTrack.name = "Mono Audio"
|
||||
} else if channelCount == 2 {
|
||||
audioTrack.name = "Stereo Audio"
|
||||
|
||||
Reference in new issue
Block a user