menu
バージョン
2022.1.18.8567
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2022.1.18
|
以下のページには、Android 対応 Wwise SDK の使用に特定の情報が含まれています。
To use the Wwise SDK with the Android platform, you must install the Android SDK, Android SDK Tools, and Android NDK. For the required versions, refer to the appropriate version of the Androidリリースノート.
info | 注釈:
Androidライブラリをビルドするには、スクリプトBuildAllAndroid.cmdを使い、希望するプラットフォームと、コンフィギュレーションで(つまりBuildAllAndroid.cmd armeabi-v7a debug)、windowsで、SDK/source/SoundEngineフォルダにビルドします。これにより適切なパラメータでndk-buildをコールします。 このスクリプトがターゲットできるのは、サポートされている4つのアーキテクチャ (v7a, x86, v8a-64, x86_64) の、3つのコンフィギュレーション (debug, profile, release)です。 |
最近のOSバージョンでは、Googleが"高速オーディオパス"を導入しました。これにより、いくつかの条件が満たされた場合に内部処理の一部がバイパスされ、OSおよびハードウェア処理の待ち時間が大幅に短縮されます。詳細は、次のページを参照してください: Androidでのレイテンシーのコントロール 。
Androidでは、3種類のサウンドバンクの実装とロード方法があります:
CAkDefaultIOHookBlocking::SetBasePath()
をコールします。自動的には行われません。CAkDefaultIOHookBlocking::AddBasePath()
を使います。$<Wwise>/SDK/samples/SoundEngine/Android にあるデフォルトの低レベルの実装では、APK、OBB ならびに POSIX ファイルにアクセスできます。JavaVM ならびに android.app.Activity と共に CAkDefaultIOHookBlocking::InitAndroidIO
関数を呼び出し、APK ならびに OBB リーダーの両方を初期化します。
info | 注釈: デフォルトのLow Level IOが正しく作動するには、OBBアーカイブが暗号化されていない状態(unencrypted)である必要があります。そうでなければ、独自のIOを書く必要があります。 |
info | 注釈: OBB の読み込みはlibzipを使って行います。 Libzip 下にあるライセンスを確認してください。。ライセンスを承諾しない場合には、コンピレーションフラグで "REMOVE_LIBZIP" シンボルを指定して、 LibZip の使用を無効にしてください。そうした場合、OBBを読み込むために独自のIOを書くか、使用前にOBBの圧縮を解除する必要があります。 |
IO システムは、与えられたパスによって、逆順、最後に追加したものを最初に、APK コンテンツを最後にファイル検索します。これによりDLC コンテンツが APK コンテンツに取って代わることが可能です。
低レベルI/O サブモジュールの実装方法についての詳細は、 低レベル I/O を参照してください。
Wwise SDK のプリコンパイル ライブラリは、このフレーバーでコンパイルされています:
Android に固有の AkPlatformInitSettings
If you are using the Wwise Unreal Integration, you must set several options in the Unreal project to enable 3D Audio. Different speaker configurations (7.1.4, 5.1, and so on) require different configurations.
To configure Android 3D Audio options in Unreal: #- In the Unreal project, select Edit > Project Settings and in the Wwise section, select Android. The Wwise - Android settings page opens. #- Open Common Settings > Main Output Settings. #- Set the Panning Rule to Headphones. #- Set the Channel Config Type to Standard. #- Set the Channel Mask options according to the desired speaker configuration, listed in the following table:
Speaker configuration | Channel Mask settings |
---|---|
5.1 |
|
5.1.2 |
|
7.1 |
|
7.1.2 |
|
7.1.4 |
|