public int Status(out SoundPcmStatus status) { IntPtr ptr = IntPtr.Zero; int ret = SoundNativeMethods.SoundPcmStatus(handle, ptr); status = new SoundPcmStatus(ptr); return(ret); }
/// <summary> /// Creates a shallow copy of the <see cref="T:ALSASHARP.SoundPcmStatus"/>. /// </summary> /// <returns>Shallow copy of this instance.</returns> public object Clone() { var other = new SoundPcmStatus(); SoundNativeMethods.SoundPcmStatusCopy(other.handle, this.handle); return(other); }