Inheritance: IDisposable
        public void CopyTo(AkChannelConfig config)
        {
            switch (m_ChannelConfigType)
            {
            case ChannelConfigType.Anonymous:
                config.SetAnonymous(m_NumberOfChannels);
                break;

            case ChannelConfigType.Standard:
                config.SetStandard((uint)m_ChannelMask);
                break;

            case ChannelConfigType.Ambisonic:
                config.SetAmbisonic(m_NumberOfChannels);
                break;
            }
        }
示例#2
0
    public virtual void Dispose()
    {
        AkChannelConfig config = this;

        lock (config)
        {
            if (this.swigCPtr != IntPtr.Zero)
            {
                if (this.swigCMemOwn)
                {
                    this.swigCMemOwn = false;
                    AkSoundEnginePINVOKE.CSharp_delete_AkChannelConfig(this.swigCPtr);
                }
                this.swigCPtr = IntPtr.Zero;
            }
            GC.SuppressFinalize(this);
        }
    }
示例#3
0
 public void SetAll(uint in_uSampleRate, AkChannelConfig in_channelConfig, uint in_uBitsPerSample, uint in_uBlockAlign, uint in_uTypeID, uint in_uInterleaveID)
 {
     AkSoundEnginePINVOKE.CSharp_AkAudioFormat_SetAll(swigCPtr, in_uSampleRate, AkChannelConfig.getCPtr(in_channelConfig), in_uBitsPerSample, in_uBlockAlign, in_uTypeID, in_uInterleaveID);
 }
 public AkOutputSettings(string in_szDeviceShareSet, uint in_idDevice, AkChannelConfig in_channelConfig) : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_2(in_szDeviceShareSet, in_idDevice, AkChannelConfig.getCPtr(in_channelConfig)), true)
 {
 }
示例#5
0
 internal static IntPtr getCPtr(AkChannelConfig obj)
 {
     return((obj == null) ? IntPtr.Zero : obj.swigCPtr);
 }
示例#6
0
    public AkChannelConfig RemoveCenter()
    {
        AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveCenter(swigCPtr), true);

        return(ret);
    }
示例#7
0
    public static AKRESULT SetListenerSpatialization(uint in_uIndex, bool in_bSpatialized, AkChannelConfig in_channelConfig)
    {
        AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerSpatialization__SWIG_1(in_uIndex, in_bSpatialized, AkChannelConfig.getCPtr(in_channelConfig));

        return ret;
    }
示例#8
0
    public static AkChannelConfig GetSpeakerConfiguration()
    {
        AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_2(), true);

        return ret;
    }
示例#9
0
    public static AkChannelConfig GetSpeakerConfiguration(AkAudioOutputType in_eSinkType)
    {
        AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_1((int)in_eSinkType), true);

        return ret;
    }
示例#10
0
 internal static global::System.IntPtr getCPtr(AkChannelConfig obj)
 {
     return((obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr);
 }
    public static AKRESULT SetBusConfig(string in_pszBusName, AkChannelConfig in_channelConfig)
    {
        AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_1(in_pszBusName, AkChannelConfig.getCPtr(in_channelConfig));

        return ret;
    }
    public static AKRESULT SetBusConfig(uint in_audioNodeID, AkChannelConfig in_channelConfig)
    {
        AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_0(in_audioNodeID, AkChannelConfig.getCPtr(in_channelConfig));

        return ret;
    }
示例#13
0
 internal static IntPtr getCPtr(AkChannelConfig obj)
 {
     return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
 }
示例#14
0
    public AkChannelConfig RemoveLFE()
    {
        AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveLFE(swigCPtr), true);

        return ret;
    }
  public void SetAll(uint in_uSampleRate, AkChannelConfig in_channelConfig, uint in_uBitsPerSample, uint in_uBlockAlign, uint in_uTypeID, uint in_uInterleaveID) {
    AkSoundEnginePINVOKE.CSharp_AkAudioFormat_SetAll(swigCPtr, in_uSampleRate, AkChannelConfig.getCPtr(in_channelConfig), in_uBitsPerSample, in_uBlockAlign, in_uTypeID, in_uInterleaveID);

  }
示例#16
0
 internal static IntPtr getCPtr(AkChannelConfig obj)
 {
     return((obj != null) ? obj.swigCPtr : IntPtr.Zero);
 }