This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
VR Development
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::Plugins::FMOD::ChannelGroup Class

Header: #include <plugins/Unigine/FMOD/UnigineFMOD.h>
Notice
This set of functions is available when the FMOD plugin is loaded.

A submix in the mixing hierarchy that can contain both Channel and ChannelGroup objects.

ChannelGroup Class

Members


Channel * getChannel ( int id ) #

Returns the channel at the specified index.

Arguments

  • int id - Index of the channel.

Return value

Channel at the specified index.

int getChannelCount ( ) #

Returns the number of channels that feed into this group.

Return value

Number of channels.

void setVolume ( float volume ) #

Sets a volume level for the group.

Arguments

  • float volume - Volume level.

void addChannel ( Channel * OUT_channel ) #

Adds a channel to the group.

Arguments

  • Channel * OUT_channel - Channel to be added.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

DSP * addDSP ( int index, DSPType::TYPE dsp_type ) #

Adds a DSP unit to the specified index in the DSP chain.

Arguments

  • int index - Offset into the DSP chain.
  • DSPType::TYPE dsp_type - Type of DSP unit to be added.

Return value

The added DSP unit.

void addDSP ( DSP * fmod_dsp ) #

Adds the specified DSP unit in the DSP chain.

Arguments

  • DSP * fmod_dsp - DSP unit to be added.

bool containsDSP ( void * fmod_dsp ) #

Checks if the DSP chain contains the specified DSP unit.

Arguments

  • void * fmod_dsp - DSP unit to be checked.

void removeDSP ( int index ) #

Removes the specified DSP unit from the DSP chain.

Arguments

  • int index - Index of the DSP unit to be removed.

void unregisterDSP ( void * fmod_dsp ) #

Unregisters a plugin DSP.

Arguments

  • void * fmod_dsp - The plugin DSP to be unregistered.

DSP * getDSP ( int index ) #

Returns the DSP unit at the specified index in the DSP chain.

Arguments

  • int index - Offset into the DSP chain.

Return value

DSP unit at the specified index.

DSP * getDSP ( void * fmod_dsp ) #

Returns the internal FMOD DSP unit by its pointer.

Arguments

  • void * fmod_dsp - The pointer to the internal FMOD DSP unit.

Return value

DSP unit.

int getNumDSPs ( ) const#

Returns the number of DSP units in the DSP chain.

Return value

The number of DSP units in the DSP chain.

void release ( ) #

Shut down and free the object.
Last update: 2023-12-19
Build: ()