From: yyagi Date: Mon, 11 Apr 2016 17:06:59 +0000 (+0000) Subject: #36057 ログ出力の初期設定値を変更。(通常ログON, 詳細ログOFF) X-Git-Tag: Release099f~3^2~84 X-Git-Url: http://git.osdn.net/view?p=dtxmania%2Fdtxmania.git;a=commitdiff_plain;h=aeceefa57c503831fbc64ca43f2a346fa11bccc4 #36057 ログ出力の初期設定値を変更。(通常ログON, 詳細ログOFF) #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 --- diff --git a/DTXManiaプロジェクト/コード/ステージ/04.コンフィグ/CConfigXml.cs b/DTXManiaプロジェクト/コード/ステージ/04.コンフィグ/CConfigXml.cs index c7bcd883..b963d1fd 100644 --- a/DTXManiaプロジェクト/コード/ステージ/04.コンフィグ/CConfigXml.cs +++ b/DTXManiaプロジェクト/コード/ステージ/04.コンフィグ/CConfigXml.cs @@ -423,8 +423,8 @@ namespace DTXMania bBGA = new COptionBool(true); bFillin = new COptionBool(true); bLogDTX = new COptionBool(true); - bLogEnumerateSongs = new COptionBool(true); - bLogCreateRelease = new COptionBool(true); + bLogEnumerateSongs = new COptionBool(false); + bLogCreateRelease = new COptionBool(false); bCymbalFree = new COptionBool(false); bStoicMode = new COptionBool(false); bItalicFontSongSelect = new COptionBool(false); @@ -584,9 +584,9 @@ namespace DTXMania cdDebugX.GBOnly = new COptionInteger(cdInstX.Drums.DrOnly); cdDebugY = new STInstValue(); - cdDebugY.Both = new COptionInteger(700); - cdDebugY.DrOnly = new COptionInteger(700); - cdDebugY.GBOnly = new COptionInteger(700); + cdDebugY.Both = new COptionInteger(200); + cdDebugY.DrOnly = new COptionInteger(200); + cdDebugY.GBOnly = new COptionInteger(200); cdMovieX = new STInstValue(); cdMovieX.Both = new COptionInteger(619 + 682); diff --git a/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏演奏情報.cs b/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏演奏情報.cs index 95fd41ce..c309fe4d 100644 --- a/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏演奏情報.cs +++ b/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏演奏情報.cs @@ -28,7 +28,7 @@ namespace DTXMania { int x = CDTXMania.Instance.ConfigIni.cdDebugX[CDTXMania.Instance.ConfigIni.eActiveInst]; int y = CDTXMania.Instance.ConfigIni.cdDebugY[CDTXMania.Instance.ConfigIni.eActiveInst]; - y += (int)(0x153 * Scale.Y); + y += (int) ( 0x153 * Scale.Y ); CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("JudgeLine D/G/B Adj: {0} px", CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Drums, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Guitar, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Bass)); y -= 0x10 * 2; @@ -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 ) ); CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Frame: {0} fps", CDTXMania.Instance.FPS.n現在のFPS)); y -= 0x10 * 2; - //CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU : {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) ); + CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU : {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) ); y -= 0x10 * 2; CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Sound Mixing: {0:####0}", CDTXMania.Instance.Sound管理.GetMixingStreams())); y -= 0x10 * 2; diff --git a/FDK17プロジェクト/FDK19.csproj b/FDK17プロジェクト/FDK19.csproj index 420c406f..e8c04dbd 100644 --- a/FDK17プロジェクト/FDK19.csproj +++ b/FDK17プロジェクト/FDK19.csproj @@ -63,7 +63,10 @@ false - + + False + ..\実行時フォルダ\dll\Bass.Net.dll + False ..\実行時フォルダ(DTXCreator)\dll\DirectShowLib-2005.dll @@ -158,6 +161,9 @@ + + GameWindow.cs + Designer diff --git a/FDK17プロジェクト/コード/03.サウンド/CSoundDeviceWASAPI.cs b/FDK17プロジェクト/コード/03.サウンド/CSoundDeviceWASAPI.cs index e2edfc16..32f38495 100644 --- a/FDK17プロジェクト/コード/03.サウンド/CSoundDeviceWASAPI.cs +++ b/FDK17プロジェクト/コード/03.サウンド/CSoundDeviceWASAPI.cs @@ -5,6 +5,7 @@ using System.Diagnostics; using Un4seen.Bass; using Un4seen.BassWasapi; using Un4seen.Bass.AddOn.Mix; +using Un4seen.Bass.Misc; namespace FDK { @@ -344,6 +345,13 @@ namespace FDK } + //録音テスト + //w = new EncoderWAV( this.hMixer_DeviceOut ); + //w.InputFile = null; //STDIN + //w.OutputFile = "test2.wav"; + //w.Start( null, IntPtr.Zero, false ); + // decode the stream (if not using a decoding channel, simply call "Bass.BASS_ChannelPlay" here) + // 出力を開始。 BassWasapi.BASS_WASAPI_Start(); @@ -380,6 +388,10 @@ namespace FDK } protected void Dispose( bool bManagedDispose ) { + if ( w != null ) + { + w.Stop(); // finish + } this.e出力デバイス = ESoundDeviceType.Unknown; // まず出力停止する(Dispose中にクラス内にアクセスされることを防ぐ) if ( hMixer != -1 ) { @@ -405,6 +417,9 @@ namespace FDK protected int hMixer = -1; protected int hMixer_DeviceOut = -1; + protected int hMixer_Record = -1; + protected EncoderWAV w; + protected int stream; protected WASAPIPROC tWasapiProc = null; protected int tWASAPI処理( IntPtr buffer, int length, IntPtr user ) diff --git a/実行時フォルダ(DTXCreator)/dll/FDK.dll b/実行時フォルダ(DTXCreator)/dll/FDK.dll index f9efe34f..8d01786e 100644 Binary files a/実行時フォルダ(DTXCreator)/dll/FDK.dll and b/実行時フォルダ(DTXCreator)/dll/FDK.dll differ diff --git a/実行時フォルダ/DTXManiaGR.exe b/実行時フォルダ/DTXManiaGR.exe index d0e52c09..be328d8b 100644 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 index 62a51728..00000000 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 index 0f7e995e..00000000 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 index 956aa1fd..00000000 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 index 22a7c5b8..00000000 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 index 5176ceb6..00000000 Binary files a/実行時フォルダ/System/Default/Graphics/ScreenOption itembox.png and /dev/null differ diff --git a/実行時フォルダ/dll/Bass.Net.dll b/実行時フォルダ/dll/Bass.Net.dll index b71600a8..080a9eeb 100644 Binary files a/実行時フォルダ/dll/Bass.Net.dll and b/実行時フォルダ/dll/Bass.Net.dll differ diff --git a/実行時フォルダ/dll/FDK.dll b/実行時フォルダ/dll/FDK.dll index f9efe34f..8d01786e 100644 Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ diff --git a/実行時フォルダ/dll/bass.dll b/実行時フォルダ/dll/bass.dll index a1efc04f..24b903b8 100644 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 index 00000000..2333051a Binary files /dev/null and b/実行時フォルダ/dll/bassenc.dll differ