Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Backend DLL

ゲームのオーディオ処理をDLLにまとめたプロジェクトです。C++で実装され、シンプルなC APIを通じてGoから呼び出せるようにします。

プロジェクト構成

  • src/ - ソースコード
  • lib/ - ライブラリファイル
  • docs/ - ドキュメント
  • bin/ - ビルド出力

ビルド方法

前提条件

  • Visual Studio (MSVC toolchain)
  • x64 Native Tools Command Prompt for VS

nmake を使用したビルド

  1. x64 Native Tools Command Prompt for VS を起動
  2. プロジェクトのルートディレクトリに移動
  3. 以下のコマンドを実行:

全てをビルド (DLL + サンプルプログラム)

nmake

または

nmake all

audiobackend.dll のみビルド

nmake dll

ビルドが成功すると、bin\audiobackend.dll が生成されます。

audiobackend_examples.exe のみビルド

nmake examples

ビルドが成功すると、bin\audiobackend_examples.exe が生成されます。

ビルド成果物のクリーンアップ

nmake clean

ヘルプの表示

nmake help

サンプルプログラムの実行

cd bin
audiobackend_examples.exe

メニューから選択して各種機能をテストできます。

技術仕様

  • 64-bit DLL/アプリケーション
  • FMOD のラッパーとして実装
  • Google Resonance Audio プラグインを使用した Spatial Audio サポート
  • 全ての関数は non-blocking で動作
  • メモリからの音声ファイルロード(暗号化対応のため)

About

easy audio backend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages