Added ability to set imported multichannel channel AAC track to Passthru + AAC (#39)
This commit is contained in:
1 parent
8bbb34298a
commit
22df3e92db
1 file changed
+11
@@ -115,6 +115,17 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
|||||||
enabled: true)
|
enabled: true)
|
||||||
actions.append(conversionAction)
|
actions.append(conversionAction)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let audioTrack = track as! MP42AudioTrack
|
||||||
|
let channelCount = audioTrack.channels
|
||||||
|
|
||||||
|
if track.format == kMP42AudioCodecType_MPEG4AAC && channelCount > 2 {
|
||||||
|
let conversionAction = Action(title: NSLocalizedString("AAC + Passthru", comment: "File Import action menu item."),
|
||||||
|
tag: 6,
|
||||||
|
enabled: true)
|
||||||
|
actions.append(conversionAction)
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user