Compare commits

3 Commits
Author SHA256 Message Date
copecone a7c64e6c27 Add DelayAfterEnd Default Value 2026-10-06 14:01:06 +09:00
copecone 36c569057c Remove 96kHz for Opus 2026-10-06 14:00:54 +09:00
copecone b05e18c8bb Refactor RegistryUtil 2026-10-06 14:00:00 +09:00
3 changed files with 5 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ public class RenderConfig
public AudioEncodingConfig AudioConfig { get; set; } = new(); public AudioEncodingConfig AudioConfig { get; set; } = new();
public AdvancedConfig AdvancedConfig { get; set; } = new(); public AdvancedConfig AdvancedConfig { get; set; } = new();
public double DelayAfterEnd { get; set; } public double DelayAfterEnd { get; set; } = 15;
public bool ShowJudgementText { get; set; } = false; public bool ShowJudgementText { get; set; } = false;
} }
+2 -2
View File
@@ -23,8 +23,8 @@ namespace ADOFAIRenderer.Util.FFmpeg
public static readonly Dictionary<AVCodecID, List<int>> AvailableSampleRate = new() public static readonly Dictionary<AVCodecID, List<int>> AvailableSampleRate = new()
{ {
[AVCodecID.AV_CODEC_ID_AAC] = new List<int> { 44100, 48000, 96000 }, [AVCodecID.AV_CODEC_ID_AAC] = new List<int> { 24000, 44100, 48000, 96000 },
[AVCodecID.AV_CODEC_ID_OPUS] = new List<int> { 48000, 96000 } [AVCodecID.AV_CODEC_ID_OPUS] = new List<int> { 24000, 48000 }
}; };
} }
} }
+2
View File
@@ -63,6 +63,7 @@ namespace ADOFAIRenderer.Util
} }
} }
// ReSharper disable once InconsistentNaming
public static string[]? GetHKLMSubKeyNames(string parentKeyPath) public static string[]? GetHKLMSubKeyNames(string parentKeyPath)
{ {
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetSubKeyNamesMethod == null) if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetSubKeyNamesMethod == null)
@@ -94,6 +95,7 @@ namespace ADOFAIRenderer.Util
} }
} }
// ReSharper disable once InconsistentNaming
public static string? GetHKLMValue(string keyPath, string valueName) public static string? GetHKLMValue(string keyPath, string valueName)
{ {
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetValueMethod == null) if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetValueMethod == null)