2013-10-04 14:54:40 -03:00
|
|
|
//
|
|
|
|
// VolumeBehaviorArrayController.m
|
|
|
|
// General
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 10/1/13.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "VolumeBehaviorArrayController.h"
|
|
|
|
|
|
|
|
@implementation VolumeBehaviorArrayController
|
2022-02-07 02:49:27 -03:00
|
|
|
- (void)awakeFromNib {
|
2013-10-04 14:54:40 -03:00
|
|
|
[self removeObjects:[self arrangedObjects]];
|
2022-02-07 02:49:27 -03:00
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"ReplayGain Album Gain with peak", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"albumGainWithPeak", @"preference", nil]];
|
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"ReplayGain Album Gain", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"albumGain", @"preference", nil]];
|
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"ReplayGain Track Gain with peak", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"trackGainWithPeak", @"preference", nil]];
|
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"ReplayGain Track Gain", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"trackGain", @"preference", nil]];
|
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"Volume scale tag only", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"volumeScale", @"preference", nil]];
|
|
|
|
|
2013-10-04 14:54:40 -03:00
|
|
|
[self addObject:
|
2022-02-07 02:49:27 -03:00
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"No volume scaling", nil, [NSBundle bundleForClass:[self class]], @""), @"name",
|
|
|
|
@"none", @"preference", nil]];
|
2013-10-04 14:54:40 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|