public long GetInteger64(uint idx) { return(SoundNativeMethods.SoundControlElementValueGetInteger64(handle, idx)); }
public uint GetDevice() { return(SoundNativeMethods.SoundPcmInfoGetDevice(handle)); }
public int ReadTLVFromElement(SoundControlElementId id, uint[] tlv, uint tlvSize) { return(SoundNativeMethods.SoundControlElementTLVRead(handle, id.handle, tlv, tlvSize)); }
public string GetSubdeviceName() { IntPtr ptr = SoundNativeMethods.SoundPcmInfoGetSubdeviceName(handle); return(Marshal.PtrToStringAnsi(ptr)); }
public void SetSubdevice(uint subdev) { SoundNativeMethods.SoundPcmInfoSetSubdevice(handle, subdev); }
public void SetOffset(uint val) { SoundNativeMethods.SoundControlElementListSetOffset(handle, val); }
public uint GetDevice(uint idx) { return(SoundNativeMethods.SoundControlElementListGetDevice(handle, idx)); }
public void SetByte(uint idx, byte val) { SoundNativeMethods.SoundControlElementValueSetByte(handle, idx, val); }
public int Compare(SoundControlElementValue other) { return(SoundNativeMethods.SoundControlElementValueCompare(handle, other.handle)); }
public void SetInteger64(uint idx, long val) { SoundNativeMethods.SoundControlElementValueSetInteger64(handle, idx, val); }
public void SetEnumerated(uint idx, uint val) { SoundNativeMethods.SoundControlElementValueSetEnumerated(handle, idx, val); }
public void SetBoolean(uint idx, bool val) { SoundNativeMethods.SoundControlElementValueSetBoolean(handle, idx, val); }
public byte GetByte(uint idx) { return(SoundNativeMethods.SoundControlElementValueGetByte(handle, idx)); }
public uint GetEnumerated(uint idx) { return(SoundNativeMethods.SoundControlElementValueGetEnumerated(handle, idx)); }
public void Clear() { SoundNativeMethods.SoundControlElementListClear(handle); }
public void SetId(SoundControlElementId elem) { SoundNativeMethods.SoundControlElementValueSetId(handle, elem.handle); }
public void Copy(ref SoundControlElementList obj) { SoundNativeMethods.SoundControlElementListCopy(handle, obj.handle); }
/// <summary> /// Makes an access type missing from a <see cref="SoundPcmFormatMask"/> instance. /// </summary> /// <param name="val">Access to unset.</param> public void Unset(SoundPcmFormat val) { SoundNativeMethods.SoundPcmFormatMaskSet(handle, val); }
public SoundControlElementIface GetInterface(uint idx) { return(SoundNativeMethods.SoundControlElementListGetInterface(handle, idx)); }
/// <summary> /// Resets all bits in a <see cref="SoundPcmFormatMask"/> instance. /// </summary> public void Reset() { SoundNativeMethods.SoundPcmFormatMaskNone(handle); }
public int Get(SoundControl ctl) { int err = SoundNativeMethods.SoundControlPcmInfo(ctl.handle, handle); return(err); }
/// <summary> /// Sets all bits in a <see cref="SoundPcmFormatMask"/> instance. /// </summary> public void SetAll() { SoundNativeMethods.SoundPcmFormatMaskAny(handle); }
public void SetDevice(uint val) { SoundNativeMethods.SoundPcmInfoSetDevice(handle, val); }
/// <summary> /// Tests the presence of an access type in a <see cref="SoundPcmFormatMask"/> instance. /// </summary> /// <returns>Value indicating </returns> public bool IsSet(SoundPcmFormat val) { return(SoundNativeMethods.SoundPcmFormatMaskTest(handle, val) == 0); }
public void SetStream(SoundPcmStream stream) { SoundNativeMethods.SoundPcmInfoSetStream(handle, stream); }
/// <summary> /// Tests, if given <see cref="SoundPcmFormatMask"/> instance is empty. /// </summary> /// <returns>Value indicating whether no bis are set.</returns> public bool IsEmpty() { return(SoundNativeMethods.SoundPcmFormatMaskEmpty(handle) == 0); }
public uint GetSubdevice() { uint subdev = SoundNativeMethods.SoundPcmInfoGetSubdevice(handle); return(subdev); }
public string GetName(uint idx) { IntPtr ptr = SoundNativeMethods.SoundControlElementListGetName(handle, idx); return(Marshal.PtrToStringAnsi(ptr)); }
public int WriteTLVToElement(SoundControlElementId id, uint[] tlv) { return(SoundNativeMethods.SoundControlElementTLVWrite(handle, id.handle, tlv)); }
public bool GetBoolean(uint idx) { return(SoundNativeMethods.SoundControlElementValueGetBoolean(handle, idx)); }