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; } }
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); } }
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) { }
internal static IntPtr getCPtr(AkChannelConfig obj) { return((obj == null) ? IntPtr.Zero : obj.swigCPtr); }
public AkChannelConfig RemoveCenter() { AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveCenter(swigCPtr), true); return(ret); }
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; }
public static AkChannelConfig GetSpeakerConfiguration() { AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_2(), true); return ret; }
public static AkChannelConfig GetSpeakerConfiguration(AkAudioOutputType in_eSinkType) { AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_1((int)in_eSinkType), true); return ret; }
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; }
internal static IntPtr getCPtr(AkChannelConfig obj) { return (obj == null) ? IntPtr.Zero : obj.swigCPtr; }
public AkChannelConfig RemoveLFE() { AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveLFE(swigCPtr), true); return ret; }
internal static IntPtr getCPtr(AkChannelConfig obj) { return((obj != null) ? obj.swigCPtr : IntPtr.Zero); }