diff --git a/VoidLink/Localization/Localizable.xcstrings b/VoidLink/Localization/Localizable.xcstrings index 313166b6..749a9245 100644 --- a/VoidLink/Localization/Localizable.xcstrings +++ b/VoidLink/Localization/Localizable.xcstrings @@ -1467,6 +1467,35 @@ } } }, + "asyncFrameDequeueStackTip" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "- Disabled: may improve visual smoothness\n- Enabled: may improve control input responsiveness" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "- 关闭:或改善画面连贯性\n- 开启:或改善控制输入响应延迟" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "- 關閉:或改善畫面連貫性\n- 開啟:或改善控制輸入響應延遲" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "- 關閉:或改善畫面連貫性\n- 開啟:或改善控制輸入響應延遲" + } + } + } + }, "Audio" : { "extractionState" : "manual", "localizations" : { diff --git a/VoidLink/ViewControllers/SettingsViewController.m b/VoidLink/ViewControllers/SettingsViewController.m index 9c887e00..48b13461 100644 --- a/VoidLink/ViewControllers/SettingsViewController.m +++ b/VoidLink/ViewControllers/SettingsViewController.m @@ -795,13 +795,14 @@ BOOL isCustomResolution(int resolutionSelected) { [self addSetting:self.hdrStack ofId:@"hdrStack" withInfoTag:![Utils hdrSupported] withDynamicLabel:NO to:videoSection]; [self addSetting:self.yuv444Stack ofId:@"yuv444Stack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; [self addSetting:self.sdrPerformanceWorkaroundStack ofId:@"sdrPerformanceWorkaroundStack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; - [self addSetting:self.fullColorRangeStack ofId:@"fullColorRangeStack" withInfoTag:NO withDynamicLabel:NO to:videoSection]; - [self addSetting:self.pipStack ofId:@"pipStack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; [self addSetting:self.framePacingStack ofId:@"framePacingStack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; [self addSetting:self.frameQueueSizeStack ofId:@"frameQueueSizeStack" withInfoTag:NO withDynamicLabel:YES to:videoSection]; [videoSection addToParentStack:_parentStack]; + [self addSetting:self.asyncFrameDequeueStack ofId:@"asyncFrameDequeueStack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; // [videoSection setExpanded:NO]; + [self addSetting:self.pipStack ofId:@"pipStack" withInfoTag:YES withDynamicLabel:NO to:videoSection]; + touchControlSection = [[MenuSectionView alloc] init]; touchControlSection.delegate = self; touchControlSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Touch Control"]; @@ -982,7 +983,7 @@ BOOL isCustomResolution(int resolutionSelected) { [self addSetting:self.leftClickDelayStack ofId:@"leftClickDelayStack" withInfoTag:NO withDynamicLabel:YES to:experimentalSection]; [self addSetting:self.renderingBackendStack ofId:@"renderingBackendStack" withInfoTag:YES withDynamicLabel:NO to:experimentalSection]; // [self addSetting:self.frameTimebaseStack ofId:@"frameTimebaseStack" withInfoTag:NO withDynamicLabel:NO to:videoSection]; - [self addSetting:self.asyncFrameDequeueStack ofId:@"asyncFrameDequeueStack" withInfoTag:NO withDynamicLabel:NO to:experimentalSection]; + [self addSetting:self.fullColorRangeStack ofId:@"fullColorRangeStack" withInfoTag:NO withDynamicLabel:NO to:experimentalSection]; [self addSetting:self.performanceGraphStack ofId:@"performanceGraphStack" withInfoTag:YES withDynamicLabel:NO to:experimentalSection]; [self addDynamicLabelForStack:self.graphOpacityStack]; @@ -1515,7 +1516,10 @@ BOOL isCustomResolution(int resolutionSelected) { tipText = [LocalizationHelper localizedStringForKey:@"sdrPerformanceWorkaroundStackTip"]; showOnlineDocAction = false; } - + if([sender.superview.accessibilityIdentifier isEqualToString: @"asyncFrameDequeueStack"]){ + tipText = [LocalizationHelper localizedStringForKey:@"asyncFrameDequeueStackTip"]; + showOnlineDocAction = false; + } UIAlertController *tipsAlertController = [UIAlertController alertControllerWithTitle: [LocalizationHelper localizedStringForKey:@"Tips"] message:tipText preferredStyle:UIAlertControllerStyleAlert]; @@ -3748,6 +3752,7 @@ BOOL isCustomResolution(int resolutionSelected) { [self.yuv444Switch setEnabled:NO]; } else { [self.fullColorRangeSwitch setEnabled:YES]; + [self.fullColorRangeSwitch setOn:YES]; [self.yuv444Switch setEnabled:YES]; }