作業環境:
- MATLAB 2008a
- Visual C++ 2010 Express SP1
- Windows SDK 7.1
作業手順:
- MATLABでmex -setupして,コンパイラを登録。
- PortAudio V19 SVN1647とASIO SDK 2.2をダウンロードし,Playrecのlibディレクトリに展開。
- compile_playrec_func.m: pa_common_filesのpa_skeleton.cをpa_ringbuffer.cに修正。
- compile_playrec_func.m: pa_api_specific_filesのpa_win_wasapi.cppをpa_win_wasapi.cに修正。
- compile_playrec_func.m: compiler_flags = [compiler_flags, {'PA_NO_XXX'}];な行をすべてコメントアウト。
- compile_playrec_func.m: sdk_path/libをsdk_path/lib/x64に修正。
- ビルドするとplayrec.mexw64ができるので,MATLABパス上に配置。
1 件のコメント:
Hi,
Do you have playrec.mexw64 file (compiled for Asio)?
コメントを投稿