Skip to content

Commit 46c2f20

Browse files
fix for #11
1 parent 586bf81 commit 46c2f20

File tree

3 files changed

+250
-33
lines changed

3 files changed

+250
-33
lines changed

FlexGUIConfig.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace FlexASIOGUI
77
public class FlexGUIConfig
88
{
99
public string backend { get; set; } = "Windows WASAPI";
10-
public int bufferSizeSamples { get; set; } = 256;
10+
public int? bufferSizeSamples { get; set; } = null;
1111
public FlexGUIConfigDeviceSection input { get; set; }
1212
public FlexGUIConfigDeviceSection output { get; set; }
1313

@@ -21,9 +21,9 @@ public FlexGUIConfig()
2121
public class FlexGUIConfigDeviceSection
2222
{
2323
public string device { get; set; }
24-
public double suggestedLatencySeconds { get; set; }
25-
public bool wasapiExclusiveMode { get; set; } = false;
26-
public bool wasapiAutoConvert { get; set; } = true;
24+
public double? suggestedLatencySeconds { get; set; } = null;
25+
public bool? wasapiExclusiveMode { get; set; } = null;
26+
public bool? wasapiAutoConvert { get; set; } = null;
2727
public int? channels { get; set; }
2828
}
2929
}

Form1.Designer.cs

Lines changed: 113 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)