OSDN Git Service

#36057 ログ出力の初期設定値を変更。(通常ログON, 詳細ログOFF)
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Mon, 11 Apr 2016 17:06:59 +0000 (17:06 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Mon, 11 Apr 2016 17:06:59 +0000 (17:06 +0000)
#xxxxx Bass.dll 並びに Bass.Net を、最新版に更新。これに伴い、Bass.Netの参照方法を変更。(システムにインストールする手段がなくなったようなので、ファイル参照によるDLL参照指定に変更)
#28263 録音用の仕込みとして、baseenc.dllを追加し、CSoundDeviceWASAPI.csを更新(ただし録音ロジックは注釈化されているため機能しない)
#xxxxx オプション設定関連の不要ファイルを削除。

git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@978 16f42ceb-6dc6-49c8-ba94-f2d53467949d

15 files changed:
DTXManiaプロジェクト/コード/ステージ/04.コンフィグ/CConfigXml.cs
DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏演奏情報.cs
FDK17プロジェクト/FDK19.csproj
FDK17プロジェクト/コード/03.サウンド/CSoundDeviceWASAPI.cs
実行時フォルダ(DTXCreator)/dll/FDK.dll
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/System/Default/Graphics/ScreenOption background.jpg [deleted file]
実行時フォルダ/System/Default/Graphics/ScreenOption footer panel.png [deleted file]
実行時フォルダ/System/Default/Graphics/ScreenOption header panel.png [deleted file]
実行時フォルダ/System/Default/Graphics/ScreenOption itembox other.png [deleted file]
実行時フォルダ/System/Default/Graphics/ScreenOption itembox.png [deleted file]
実行時フォルダ/dll/Bass.Net.dll
実行時フォルダ/dll/FDK.dll
実行時フォルダ/dll/bass.dll
実行時フォルダ/dll/bassenc.dll [new file with mode: 0644]

index c7bcd88..b963d1f 100644 (file)
@@ -423,8 +423,8 @@ namespace DTXMania
                        bBGA = new COptionBool(true);\r
                        bFillin = new COptionBool(true);\r
                        bLogDTX = new COptionBool(true);\r
-                       bLogEnumerateSongs = new COptionBool(true);\r
-                       bLogCreateRelease = new COptionBool(true);\r
+                       bLogEnumerateSongs = new COptionBool(false);\r
+                       bLogCreateRelease = new COptionBool(false);\r
                        bCymbalFree = new COptionBool(false);\r
                        bStoicMode = new COptionBool(false);\r
                        bItalicFontSongSelect = new COptionBool(false);\r
@@ -584,9 +584,9 @@ namespace DTXMania
                        cdDebugX.GBOnly = new COptionInteger(cdInstX.Drums.DrOnly);\r
 \r
                        cdDebugY = new STInstValue<COptionInteger>();\r
-                       cdDebugY.Both = new COptionInteger(700);\r
-                       cdDebugY.DrOnly = new COptionInteger(700);\r
-                       cdDebugY.GBOnly = new COptionInteger(700);\r
+                       cdDebugY.Both = new COptionInteger(200);\r
+                       cdDebugY.DrOnly = new COptionInteger(200);\r
+                       cdDebugY.GBOnly = new COptionInteger(200);\r
 \r
                        cdMovieX = new STInstValue<COptionInteger>();\r
                        cdMovieX.Both = new COptionInteger(619 + 682);\r
index 95fd41c..c309fe4 100644 (file)
@@ -28,7 +28,7 @@ namespace DTXMania
                        {\r
                                int x = CDTXMania.Instance.ConfigIni.cdDebugX[CDTXMania.Instance.ConfigIni.eActiveInst];\r
                                int y = CDTXMania.Instance.ConfigIni.cdDebugY[CDTXMania.Instance.ConfigIni.eActiveInst];\r
-        y += (int)(0x153 * Scale.Y);\r
+                               y += (int) ( 0x153 * Scale.Y );\r
                                CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白,\r
                                        string.Format("JudgeLine D/G/B Adj: {0} px", CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Drums, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Guitar, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Bass));\r
                                y -= 0x10 * 2;\r
@@ -47,7 +47,7 @@ namespace DTXMania
                                //CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Frame:         {0:####0} fps", CDTXMania.Instance.FPS.n現在のFPS ) );\r
                                CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Frame:         {0} fps", CDTXMania.Instance.FPS.n現在のFPS));\r
                                y -= 0x10 * 2;\r
-                               //CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU :    {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) );\r
+                               CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU :    {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) );\r
                                y -= 0x10 * 2;\r
                                CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Sound Mixing:  {0:####0}", CDTXMania.Instance.Sound管理.GetMixingStreams()));\r
                                y -= 0x10 * 2;\r
index 420c406..e8c04db 100644 (file)
     <Prefer32Bit>false</Prefer32Bit>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="Bass.Net, Version=2.4.11.1, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL" />\r
+    <Reference Include="Bass.Net, Version=2.4.11.1, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>..\実行時フォルダ\dll\Bass.Net.dll</HintPath>\r
+    </Reference>\r
     <Reference Include="DirectShowLib-2005, Version=2.1.0.0, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f, processorArchitecture=MSIL">\r
       <SpecificVersion>False</SpecificVersion>\r
       <HintPath>..\実行時フォルダ(DTXCreator)\dll\DirectShowLib-2005.dll</HintPath>\r
     <Compile Include="コード\06.Tempo\CBeatDetect.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
+    <EmbeddedResource Include="コード\01.フレームワーク\Core\GameWindow.resx">\r
+      <DependentUpon>GameWindow.cs</DependentUpon>\r
+    </EmbeddedResource>\r
     <EmbeddedResource Include="コード\01.フレームワーク\Properties\Resources.resx">\r
       <SubType>Designer</SubType>\r
     </EmbeddedResource>\r
index e2edfc1..32f3849 100644 (file)
@@ -5,6 +5,7 @@ using System.Diagnostics;
 using Un4seen.Bass;\r
 using Un4seen.BassWasapi;\r
 using Un4seen.Bass.AddOn.Mix;\r
+using Un4seen.Bass.Misc;\r
 \r
 namespace FDK\r
 {\r
@@ -344,6 +345,13 @@ namespace FDK
                        }\r
 \r
 \r
+                       //録音テスト\r
+                       //w = new EncoderWAV( this.hMixer_DeviceOut );\r
+                       //w.InputFile = null;    //STDIN\r
+                       //w.OutputFile = "test2.wav";\r
+                       //w.Start( null, IntPtr.Zero, false );\r
+                       // decode the stream (if not using a decoding channel, simply call "Bass.BASS_ChannelPlay" here) \r
+\r
                        // 出力を開始。\r
 \r
                        BassWasapi.BASS_WASAPI_Start();\r
@@ -380,6 +388,10 @@ namespace FDK
                }\r
                protected void Dispose( bool bManagedDispose )\r
                {\r
+                       if ( w != null )\r
+                       {\r
+                               w.Stop();  // finish\r
+                       }\r
                        this.e出力デバイス = ESoundDeviceType.Unknown;            // まず出力停止する(Dispose中にクラス内にアクセスされることを防ぐ)\r
                        if ( hMixer != -1 )\r
                        {\r
@@ -405,6 +417,9 @@ namespace FDK
 \r
                protected int hMixer = -1;\r
                protected int hMixer_DeviceOut = -1;\r
+               protected int hMixer_Record = -1;\r
+               protected EncoderWAV w;\r
+               protected int stream;\r
                protected WASAPIPROC tWasapiProc = null;\r
 \r
                protected int tWASAPI処理( IntPtr buffer, int length, IntPtr user )\r
index f9efe34..8d01786 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/dll/FDK.dll and b/実行時フォルダ(DTXCreator)/dll/FDK.dll differ
index d0e52c0..be328d8 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
diff --git a/実行時フォルダ/System/Default/Graphics/ScreenOption background.jpg b/実行時フォルダ/System/Default/Graphics/ScreenOption background.jpg
deleted file mode 100644 (file)
index 62a5172..0000000
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption background.jpg and /dev/null differ
diff --git a/実行時フォルダ/System/Default/Graphics/ScreenOption footer panel.png b/実行時フォルダ/System/Default/Graphics/ScreenOption footer panel.png
deleted file mode 100644 (file)
index 0f7e995..0000000
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption footer panel.png and /dev/null differ
diff --git a/実行時フォルダ/System/Default/Graphics/ScreenOption header panel.png b/実行時フォルダ/System/Default/Graphics/ScreenOption header panel.png
deleted file mode 100644 (file)
index 956aa1f..0000000
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption header panel.png and /dev/null differ
diff --git a/実行時フォルダ/System/Default/Graphics/ScreenOption itembox other.png b/実行時フォルダ/System/Default/Graphics/ScreenOption itembox other.png
deleted file mode 100644 (file)
index 22a7c5b..0000000
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption itembox other.png and /dev/null differ
diff --git a/実行時フォルダ/System/Default/Graphics/ScreenOption itembox.png b/実行時フォルダ/System/Default/Graphics/ScreenOption itembox.png
deleted file mode 100644 (file)
index 5176ceb..0000000
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption itembox.png and /dev/null differ
index b71600a..080a9ee 100644 (file)
Binary files a/実行時フォルダ/dll/Bass.Net.dll and b/実行時フォルダ/dll/Bass.Net.dll differ
index f9efe34..8d01786 100644 (file)
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ
index a1efc04..24b903b 100644 (file)
Binary files a/実行時フォルダ/dll/bass.dll and b/実行時フォルダ/dll/bass.dll differ
diff --git a/実行時フォルダ/dll/bassenc.dll b/実行時フォルダ/dll/bassenc.dll
new file mode 100644 (file)
index 0000000..2333051
Binary files /dev/null and b/実行時フォルダ/dll/bassenc.dll differ