Commit 7a0a7123 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Remove verbosity setting and rename time stretching internally

parent 2a87e99b
......@@ -24,7 +24,7 @@
{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSDictionary *appDefaults = @{kVLCSettingPasscodeKey : @"", kVLCSettingPasscodeOnKey : @(NO), kVLCSettingContinueAudioInBackgroundKey : @(YES), kVLCSettingStretchAudio : @(NO), kVLCSettingVerboseOutput : @(NO), kVLCSettingTextEncoding : kVLCSettingTextEncodingDefaultValue};
NSDictionary *appDefaults = @{kVLCSettingPasscodeKey : @"", kVLCSettingPasscodeOnKey : @(NO), kVLCSettingContinueAudioInBackgroundKey : @(YES), kVLCSettingStretchAudio : @(NO), kVLCSettingTextEncoding : kVLCSettingTextEncodingDefaultValue};
[defaults registerDefaults:appDefaults];
}
......
......@@ -11,12 +11,9 @@
#define kVLCSettingPasscodeKey @"Passcode"
#define kVLCSettingPasscodeOnKey @"PasscodeProtection"
#define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
#define kVLCSettingStretchAudio @"StretchAudio"
#define kVLCSettingStretchAudioOnValue @"--audio-time-stretch"
#define kVLCSettingStretchAudioOffValue @"--no-audio-time-stretch"
#define kVLCSettingVerboseOutput @"VerboseLogs"
#define kVLCSettingVerboseOutputOnValue @"--verbose=3"
#define kVLCSettingVerboseOutputOffValue @"--verbose=0"
#define kVLCSettingStretchAudio @"audio-time-stretch"
#define kVLCSettingStretchAudioOnValue @"1"
#define kVLCSettingStretchAudioOffValue @"0"
#define kVLCSettingTextEncoding @"subsdec-encoding"
#define kVLCSettingTextEncodingDefaultValue @"Windows-1252"
......
......@@ -136,7 +136,7 @@
<key>Title</key>
<string>SETTINGS_TIME_STRETCH_AUDIO</string>
<key>Key</key>
<string>StretchAudio</string>
<string>audio-time-stretch</string>
<key>DefaultValue</key>
<false/>
</dict>
......@@ -150,22 +150,6 @@
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>SETTINGS_ADVANCED_TITLE</string>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>SETTINGS_VERBOSE_LOGS</string>
<key>Key</key>
<string>VerboseLogs</string>
<key>DefaultValue</key>
<false/>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
......
......@@ -120,7 +120,7 @@
<key>Title</key>
<string>SETTINGS_TIME_STRETCH_AUDIO</string>
<key>Key</key>
<string>StretchAudio</string>
<string>audio-time-stretch</string>
<key>DefaultValue</key>
<false/>
</dict>
......@@ -134,22 +134,6 @@
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>SETTINGS_ADVANCED_TITLE</string>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>SETTINGS_VERBOSE_LOGS</string>
<key>Key</key>
<string>VerboseLogs</string>
<key>DefaultValue</key>
<false/>
</dict>
</array>
<key>StringsTable</key>
<string>Root</string>
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment