![]() |
CRIWARE Unity Plugin Manual
Last Updated: 2025-05-08
|
用于控制音频播放总体的组件。 更多...
继承自 CriMonoBehaviour .
Public 类型 | |
| enum | SpeakerMapping : System.Int32 { Auto = 0, Monaural, Stereo, Ch5_1, Ch7_1, Ch5_1_2, Ch7_1_2, Ch7_1_4, Ch7_1_4_4, Ambisonics1p, Ambisonics2p, Ambisonics3p, Object, Custom } |
| 混音器的扬声器映射类型 更多... | |
静态 Public 成员函数 | |
| static void | AttachDspBusSetting (string settingName) |
| 添加DSP总线设置 更多... | |
| static void | DetachDspBusSetting () |
| 切断DSP总线设置 更多... | |
| static CriAtomCueSheet | GetCueSheet (string name) |
| 获取Cue Sheet 更多... | |
| static CriAtomCueSheet | AddCueSheet (string name, string acbFile, string awbFile, CriFsBinder binder=null) |
| 添加Cue Sheet 更多... | |
| static CriAtomCueSheet | AddCueSheetAsync (string name, string acbFile, string awbFile, CriFsBinder binder=null, bool loadAwbOnMemory=false) |
| 以异步方式添加Cue Sheet 更多... | |
| static CriAtomCueSheet | AddCueSheet (string name, byte[] acbData, string awbFile, CriFsBinder awbBinder=null) |
| 添加Cue Sheet(从内存读取) 更多... | |
| static CriAtomCueSheet | AddCueSheetAsync (string name, byte[] acbData, string awbFile, CriFsBinder awbBinder=null, bool loadAwbOnMemory=false) |
| 以异步方式添加Cue Sheet(内存读取) 更多... | |
| static void | RemoveCueSheet (string name) |
| 删除Cue Sheet 更多... | |
| static CriAtomExAcb | GetAcb (string cueSheetName) |
| 获取ACB对象 更多... | |
| static void | SetCategoryVolume (string name, float volume) |
| 通过指定类别名来设置类别音量。 更多... | |
| static void | SetCategoryVolume (int id, float volume) |
| 通过类别ID指定来设置类别音量。 更多... | |
| static float | GetCategoryVolume (string name) |
| 通过指定类别名来获取类别音量。 更多... | |
| static float | GetCategoryVolume (int id) |
| 通过类别ID指定来获取类别音量。 更多... | |
| static void | SetBusAnalyzer (string busName, bool sw) |
| 启用总线信息获取。 更多... | |
| static void | SetBusAnalyzer (bool sw) |
| 启用所有获取的总线信息。 更多... | |
| static CriAtomExAsr.BusAnalyzerInfo | GetBusAnalyzerInfo (string busName) |
| 获取总线信息。 更多... | |
| static CriAtomExAsr.BusAnalyzerInfo | GetBusAnalyzerInfo (int busId) |
属性 | |
| static bool | CueSheetsAreLoading [get] |
| Cue Sheet加载完成检查 更多... | |
用于控制音频播放总体的组件。
|
strong |
混音器的扬声器映射类型
|
inlinestatic |
添加DSP总线设置
| settingName | DSP总线设置的名称 |
|
inlinestatic |
切断DSP总线设置
|
inlinestatic |
获取Cue Sheet
| name | Cue Sheet名 |
|
inlinestatic |
添加Cue Sheet
| name | Cue Sheet名 |
| acbFile | ACB文件路径 |
| awbFile | AWB文件路径 |
| binder | Binder对象(选项) |
|
inlinestatic |
以异步方式添加Cue Sheet
| name | Cue Sheet名 |
| acbFile | ACB文件路径 |
| awbFile | AWB文件路径 |
| binder | Binder对象(选项) |
| loadAwbOnMemory | 是否将AWB文件加载至内存上(选项) |
|
inlinestatic |
添加Cue Sheet(从内存读取)
| name | Cue Sheet名 |
| acbData | ACB数据 |
| awbFile | AWB文件路径 |
| awbBinder | AWB用Binder对象(选项) |
|
inlinestatic |
以异步方式添加Cue Sheet(内存读取)
| name | Cue Sheet名 |
| acbData | ACB数据 |
| awbFile | AWB文件路径 |
| awbBinder | AWB用Binder对象(选项) |
| loadAwbOnMemory | 是否将AWB文件加载至内存上(选项) |
|
inlinestatic |
删除Cue Sheet
| name | Cue Sheet名 |
|
inlinestatic |
获取ACB对象
| cueSheetName | Cue Sheet名 |
|
inlinestatic |
通过指定类别名来设置类别音量。
| name | 类别名 |
| volume | 音量 |
|
inlinestatic |
通过类别ID指定来设置类别音量。
| id | 类别ID |
| volume | 音量 |
|
inlinestatic |
通过指定类别名来获取类别音量。
| name | 类别名 |
|
inlinestatic |
通过类别ID指定来获取类别音量。
| id | 类别ID |
|
inlinestatic |
启用总线信息获取。
| busName | DSP总线名 |
| sw | True: 将获取设置为有效。False: 将获取设置为无效。 |
|
inlinestatic |
启用所有获取的总线信息。
| sw | True: 将获取设置为有效。False: 将获取设置为无效。 |
|
inlinestatic |
获取总线信息。
| busName | DSP总线名 |
|
inlinestatic |
|
staticget |
Cue Sheet加载完成检查