From 6a02c14e323dc2bd61200139abcbf13fbbc184c3 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Wed, 1 Oct 2008 16:22:38 +0000 Subject: MacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for bringing it to my attention. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1798 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBQueueController.mm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'macosx/HBQueueController.mm') diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 01167b717..fbc46af35 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -905,6 +905,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio1Mixdown"] , [item objectForKey:@"Audio1Samplerate"], [item objectForKey:@"Audio1Bitrate"]]; + + if ([[item objectForKey:@"Audio1TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail1 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail1,[item objectForKey:@"Audio1TrackDRCSlider"]]; + } + else + { + audioDetail1 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail1]; + } } if ([[item objectForKey:@"Audio2Track"] intValue] > 0) @@ -916,6 +925,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio2Mixdown"] , [item objectForKey:@"Audio2Samplerate"], [item objectForKey:@"Audio2Bitrate"]]; + + if ([[item objectForKey:@"Audio2TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail2 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail2,[item objectForKey:@"Audio2TrackDRCSlider"]]; + } + else + { + audioDetail2 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail2]; + } } if ([[item objectForKey:@"Audio3Track"] intValue] > 0) @@ -927,7 +945,17 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio3Mixdown"] , [item objectForKey:@"Audio3Samplerate"], [item objectForKey:@"Audio3Bitrate"]]; + + if ([[item objectForKey:@"Audio3TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail3 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail3,[item objectForKey:@"Audio3TrackDRCSlider"]]; + } + else + { + audioDetail3 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail3]; + } } + if ([[item objectForKey:@"Audio4Track"] intValue] > 0) { audioCodecSummary = [NSString stringWithFormat:@"%@, %@",audioCodecSummary ,[item objectForKey:@"Audio3Encoder"]]; @@ -937,6 +965,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio4Mixdown"] , [item objectForKey:@"Audio4Samplerate"], [item objectForKey:@"Audio4Bitrate"]]; + + if ([[item objectForKey:@"Audio4TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail4 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail4,[item objectForKey:@"Audio4TrackDRCSlider"]]; + } + else + { + audioDetail4 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail4]; + } } NSString * jobFormatInfo; -- cgit v1.2.3