public int ElementUnlock(out SoundControlElementId id) { int ret = SoundNativeMethods.SoundControlElementUnlock(handle, out IntPtr ptr); id = new SoundControlElementId(ptr); return(ret); }
public void GetId(out SoundControlElementId elem) { IntPtr ptr; SoundNativeMethods.SoundControlEventElementGetId(handle, out ptr); elem = new SoundControlElementId(ptr); }
public void GetId(uint idx, out SoundControlElementId elem) { IntPtr ptr; SoundNativeMethods.SoundControlElementListGetId(handle, idx, out ptr); elem = new SoundControlElementId(ptr); }
public void Copy(ref SoundControlElementId obj) { SoundNativeMethods.SoundControlElementIdCopy(handle, obj.handle); }
public void SetId(SoundControlElementId elem) { SoundNativeMethods.SoundControlElementInfoSetId(handle, elem.handle); }
public int ConvertFromdB(ref SoundControlElementId id, int dBGain, out int value, int xdir) { return(SoundNativeMethods.SoundControlConvertFromdB(handle, ref id.handle, dBGain, out value, xdir)); }
public int ConvertTodB(ref SoundControlElementId id, int volume, out int gain) { return(SoundNativeMethods.SoundControlConvertTodB(handle, ref id.handle, volume, out gain)); }
public int GetdBRange(ref SoundControlElementId id, out int min, out int max) { return(SoundNativeMethods.SoundControlGetdBRange(handle, ref id.handle, out min, out max)); }
public int CommandTLVForElement(SoundControlElementId id, uint[] tlv) { return(SoundNativeMethods.SoundControlElementTLVCommand(handle, id.handle, tlv)); }
public int WriteTLVToElement(SoundControlElementId id, uint[] tlv) { return(SoundNativeMethods.SoundControlElementTLVWrite(handle, id.handle, tlv)); }
public int ReadTLVFromElement(SoundControlElementId id, uint[] tlv, uint tlvSize) { return(SoundNativeMethods.SoundControlElementTLVRead(handle, id.handle, tlv, tlvSize)); }