Skip to content

Commit

Permalink
汉化界面,添加Fork自述
Browse files Browse the repository at this point in the history
  • Loading branch information
Tryanks committed Sep 16, 2022
1 parent c800c5d commit 6ddf67f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 28 deletions.
52 changes: 28 additions & 24 deletions Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class Form1 : Form
private string TOMLPath;
private FlexGUIConfig flexGUIConfig;
private Encoding legacyEncoding;
private string flexasioGuiVersion = "0.34";
private string flexasioGuiVersion = "EIMChanged";
private string flexasioVersion = "1.9";
private string tomlName = "FlexASIO.toml";
private string docUrl = "https://github.com/dechamps/FlexASIO/blob/master/CONFIGURATION.md";
Expand All @@ -34,7 +34,7 @@ public Form1()
{
InitializeComponent();

this.Text = $"FlexASIO GUI v{flexasioGuiVersion}";
this.Text = $"FlexASIO GUI {flexasioGuiVersion}";

System.Globalization.CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
customCulture.NumberFormat.NumberDecimalSeparator = ".";
Expand Down Expand Up @@ -125,7 +125,7 @@ private TreeNode[] GetDevicesForBackend(string Backend, bool Input)
List<TreeNode> treeNodes = new List<TreeNode>();
treeNodes.Add(new TreeNode("(None)"));
var devices = new MMDeviceEnumerator();
if (Input)
if (!Input)
{
var enpoints = devices.EnumerateAudioEndPoints(DataFlow.Render, DeviceState.Active);
foreach (var endpoint in enpoints)
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
此分支对原项目做了以下修改:
- 修复中文乱码
- 汉化中文界面
- 将 PortAudio 替换为 NAudio 只支持获取 WASAPI 音频后端

by EIM

对应的 FlexASIO 版本: [FlexASIO](https://github.com/dechamps/FlexASIO/releases/download/flexasio-1.9/FlexASIO-1.9.exe)

---

This is a small GUI to make the configuration of https://github.com/dechamps/FlexASIO a bit quicker.

It should pick up your existing $Usersprofile/FlexASIO.toml file and read the basic parameters. Not all of them have been implemented yet...
Expand Down
2 changes: 1 addition & 1 deletion installer/FlexASIOGUI.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "FlexASIO GUI"
#define MyAppVersion "0.34"
#define MyAppVersion "EIMChanged"
#define MyAppPublisher "https://github.com/flipswitchingmonkey/FlexASIO_GUI"
#define MyAppURL ""
#define MyAppExeName "FlexASIOGUI.exe"
Expand Down

0 comments on commit 6ddf67f

Please sign in to comment.