当前位置: 首页>>代码示例>>C#>>正文


C# ChannelGroup.getRaw方法代码示例

本文整理汇总了C#中FMOD.ChannelGroup.getRaw方法的典型用法代码示例。如果您正苦于以下问题:C# ChannelGroup.getRaw方法的具体用法?C# ChannelGroup.getRaw怎么用?C# ChannelGroup.getRaw使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FMOD.ChannelGroup的用法示例。


在下文中一共展示了ChannelGroup.getRaw方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: setChannelGroup

 public RESULT setChannelGroup(ChannelGroup channelgroup)
 {
     return FMOD_Channel_SetChannelGroup(channelraw, channelgroup.getRaw());
 }
开发者ID:huming2207,项目名称:ghgame,代码行数:4,代码来源:fmod.cs

示例2: addGroup

 // Nested channel groups.
 public RESULT addGroup(ChannelGroup group)
 {
     return FMOD_ChannelGroup_AddGroup(channelgroupraw, group.getRaw());
 }
开发者ID:huming2207,项目名称:ghgame,代码行数:5,代码来源:fmod.cs

示例3: attachChannelGroupToPort

 // Routing to ports.
 public RESULT attachChannelGroupToPort(uint portType, ulong portIndex, ChannelGroup channelgroup)
 {
     return FMOD_System_AttachChannelGroupToPort(rawPtr, portType, portIndex, channelgroup.getRaw());
 }
开发者ID:Cocotus,项目名称:simple-music-player,代码行数:5,代码来源:fmod.cs

示例4: detachChannelGroupFromPort

 public RESULT detachChannelGroupFromPort(ChannelGroup channelgroup)
 {
     return FMOD_System_DetachChannelGroupFromPort(rawPtr, channelgroup.getRaw());
 }
开发者ID:Cocotus,项目名称:simple-music-player,代码行数:4,代码来源:fmod.cs

示例5: FMOD5_ChannelGroup_AddGroup

 // Nested channel groups.
 public RESULT addGroup               (ChannelGroup group)
 {
     return FMOD5_ChannelGroup_AddGroup(getRaw(), group.getRaw());
 }
开发者ID:ajm1996,项目名称:SpaceSalvage,代码行数:5,代码来源:fmod.cs

示例6: FMOD_System_PlayDSP

        public RESULT playDSP                (DSP dsp, ChannelGroup channelGroup, bool paused, out Channel channel)
        {
            channel = null;

            IntPtr channelGroupRaw = (channelGroup != null) ? channelGroup.getRaw() : IntPtr.Zero;

            IntPtr channelraw;
            RESULT result = FMOD_System_PlayDSP(rawPtr, dsp.getRaw(), channelGroupRaw, paused, out channelraw);
            channel = new Channel(channelraw);

            return result;
        }
开发者ID:Cocotus,项目名称:simple-music-player,代码行数:12,代码来源:fmod.cs

示例7: attachChannelGroupToPort

 // Routing to ports.
 public RESULT attachChannelGroupToPort(uint portType, ulong portIndex, ChannelGroup channelgroup, bool passThru = false)
 {
     return FMOD5_System_AttachChannelGroupToPort(rawPtr, portType, portIndex, channelgroup.getRaw(), passThru);
 }
开发者ID:ajm1996,项目名称:SpaceSalvage,代码行数:5,代码来源:fmod.cs

示例8: FMOD5_ChannelGroup_AddGroup

        // Nested channel groups.
        public RESULT addGroup               (ChannelGroup group, bool propagatedspclock, out DSPConnection connection)
        {
            connection = null;

            IntPtr connectionRaw;
            RESULT result = FMOD5_ChannelGroup_AddGroup(getRaw(), group.getRaw(), propagatedspclock, out connectionRaw);
            connection = new DSPConnection(connectionRaw);

            return result;

        }
开发者ID:kendobi,项目名称:Entropy_V5,代码行数:12,代码来源:fmod.cs

示例9: playSound

 public RESULT playSound(Sound sound, ChannelGroup channelGroup, bool paused, out Channel channel)
 {
     channel = null;
     IntPtr channelGroup2 = (!(channelGroup != null)) ? IntPtr.Zero : channelGroup.getRaw();
     IntPtr raw;
     RESULT result = System.FMOD5_System_PlaySound(this.rawPtr, sound.getRaw(), channelGroup2, paused, out raw);
     channel = new Channel(raw);
     return result;
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:9,代码来源:System.cs

示例10: detachChannelGroupFromPort

 public RESULT detachChannelGroupFromPort(ChannelGroup channelgroup)
 {
     return System.FMOD5_System_DetachChannelGroupFromPort(this.rawPtr, channelgroup.getRaw());
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:4,代码来源:System.cs

示例11: IntPtr

        public RESULT playSound              (Sound sound, ChannelGroup channelGroup, bool paused, ref Channel channel)
        {
            RESULT result      = RESULT.OK;
            IntPtr      channelraw;
            Channel     channelnew  = null;

            if (channel != null)
            {
                channelraw = channel.getRaw();
            }
            else
            {
                channelraw  = new IntPtr();
            }

            IntPtr channelGroupRaw = (channelGroup != null) ? channelGroup.getRaw() : (IntPtr)0;


            try
            {
                result = FMOD_System_PlaySound(systemraw, sound.getRaw(), channelGroupRaw, (paused ? 1 : 0), ref channelraw);
            }
            catch
            {
                result = RESULT.ERR_INVALID_PARAM;
            }
            if (result != RESULT.OK)
            {
                return result;
            }

            if (channel == null)
            {
                channelnew = new Channel();
                channelnew.setRaw(channelraw);
                channel = channelnew;
            }
            else
            {
                channel.setRaw(channelraw);
            }
                             
            return result;                                                                    
        }
开发者ID:whztt07,项目名称:GameEngine,代码行数:44,代码来源:fmod.cs


注:本文中的FMOD.ChannelGroup.getRaw方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。