OSDN Git Service

#28821 DTXC: ASIOデバイスが見つからない場合は、ツール - オプション - Viewer の、DTXManiaGRの設定の選択肢から、ASIOをグレーアウ...
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Thu, 3 Apr 2014 16:38:06 +0000 (16:38 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Thu, 3 Apr 2014 16:38:06 +0000 (16:38 +0000)
#xxxxx デバッグメッセージ削除、コメント修正。

git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/branches/140113(DTXMania098%20with%2028821%20DTXVmode)@699 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.cs
DTXCreatorプロジェクト/コード/03.オプション関連/Cオプション管理.cs
DTXManiaプロジェクト/コード/ステージ/CDTXVmode.cs
FDK17プロジェクト/コード/00.共通/CPowerManagement.cs
実行時フォルダ(DTXCreator)/DTXCreator.exe
実行時フォルダ(DTXCreator)/dll/FDK.dll
実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll
実行時フォルダ/dll/FDK.dll

index 6dae3ad..9954ff4 100644 (file)
@@ -36,11 +36,13 @@ namespace DTXCreator.オプション関連
                        bレーンリストの内訳が生成済みである = true;\r
                }\r
 \r
-               public void tASIOデバイスリストの内訳を生成する()\r
+               public int tASIOデバイスリストの内訳を生成する()\r
                {\r
                        this.comboBox_ASIOdevices.Items.Clear();\r
                        string[] asiodevs = FDK.CEnumerateAllAsioDevices.GetAllASIODevices();\r
                        this.comboBox_ASIOdevices.Items.AddRange( asiodevs );\r
+\r
+                       return asiodevs.Length;\r
                }\r
 \r
                private void Cオプションダイアログ_KeyDown( object sender, KeyEventArgs e )\r
index 87c8fc1..941b6be 100644 (file)
@@ -36,8 +36,12 @@ namespace DTXCreator.オプション関連
                        cオプションダイアログ.radioButton_WASAPI.Checked = this.formメインフォーム.appアプリ設定.ViewerInfo.SoundType == FDK.ESoundDeviceType.ExclusiveWASAPI;\r
                        cオプションダイアログ.radioButton_ASIO.Checked = this.formメインフォーム.appアプリ設定.ViewerInfo.SoundType == FDK.ESoundDeviceType.ASIO;\r
 \r
-                       cオプションダイアログ.tASIOデバイスリストの内訳を生成する();\r
+                       int nASIOdevs = cオプションダイアログ.tASIOデバイスリストの内訳を生成する();\r
                        cオプションダイアログ.comboBox_ASIOdevices.SelectedIndex = this.formメインフォーム.appアプリ設定.ViewerInfo.ASIODeviceNo;\r
+                       if ( nASIOdevs == 1 && cオプションダイアログ.comboBox_ASIOdevices.Items[ 0 ].ToString() == "None" )\r
+                       {\r
+                               cオプションダイアログ.radioButton_ASIO.Enabled = false;\r
+                       }\r
                        #endregion\r
 \r
 \r
index ed5bfc8..9943651 100644 (file)
@@ -178,7 +178,7 @@ namespace DTXMania
 \r
                        if ( arg != null ) \r
                        {\r
-Trace.TraceInformation( "arg=" + arg );\r
+//Trace.TraceInformation( "arg=" + arg );\r
                                while ( analyzing )\r
                                {\r
                                        if ( arg == "" )\r
index b07c775..b4698d7 100644 (file)
@@ -18,7 +18,7 @@ namespace FDK
                }\r
 \r
                /// <summary>\r
-               /// æ\9c¬ä½\93\83¢ã\83\8bã\82¿ã\81®ç\9c\81é\9b»å\8a\9bã\83¢ã\83\8bã\82¿ä»¥é\99\8d抑制を解除する\r
+               /// æ\9c¬ä½\93\83¢ã\83\8bã\82¿ã\81®ç\9c\81é\9b»å\8a\9bã\83¢ã\83¼ã\83\89移è¡\8c抑制を解除する\r
                /// </summary>\r
                public static void tEnableMonitorSuspend()\r
                {\r
index d6683fc..77a2cfa 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/DTXCreator.exe and b/実行時フォルダ(DTXCreator)/DTXCreator.exe differ
index 57c8837..8d6ce70 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/dll/FDK.dll and b/実行時フォルダ(DTXCreator)/dll/FDK.dll differ
index fe094b7..1e923e2 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll and b/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll differ
index 57c8837..8d6ce70 100644 (file)
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ