OSDN Git Service

MacGui: Audio ... Allow more than 4 audio tracks.
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 15 Sep 2010 17:49:16 +0000 (17:49 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 15 Sep 2010 17:49:16 +0000 (17:49 +0000)
commit1c3e658fb616f84744bd5a2e4c32d9245fb6e3c9
tree6bf14c4879b5166f7b2976fcd67d6b0083c1ea52
parentf0ce2d229b9f7102b362fe897b5ea8b6b4525409
MacGui: Audio ... Allow more than 4 audio tracks.
- Patch courtesy of circleone ...  Thanks!
- Use a NSTableView to dynamically add/delete audio tracks ala the Subtitle tab.
- Sets a 24 track limit until someone tests more than 24 tracks (the libhb 8 track limit was removed as per http://trac.handbrake.fr/changeset/3531).
- Replaces the old static 4 tracks to a dynamic array.
- Moves macgui audio handling to a separate class.
Known caveats:
- Borks queue editing which needs a revamp anyway.
- Queue window display needs to be adjusted to show more than 4 tracks appropriately. Again, its cosmetic and is not a show stopper.
- There may be other possible unknown side effects even though tested on all presets. That said, I feel it needs to get in so that we can get feedback from nightlies.

git-svn-id: svn://localhost/HandBrake/trunk@3532 b64f7644-9d1e-0410-96f1-a4d463321fa5
macosx/Controller.h
macosx/Controller.m
macosx/English.lproj/MainMenu.xib
macosx/HBAudio.h [new file with mode: 0644]
macosx/HBAudio.m [new file with mode: 0644]
macosx/HBAudioController.h [new file with mode: 0644]
macosx/HBAudioController.m [new file with mode: 0644]
macosx/HBQueueController.mm
macosx/HandBrake.xcodeproj/project.pbxproj