Exemplo n.º 1
0
        public int Status(out SoundPcmStatus status)
        {
            IntPtr ptr = IntPtr.Zero;
            int    ret = SoundNativeMethods.SoundPcmStatus(handle, ptr);

            status = new SoundPcmStatus(ptr);
            return(ret);
        }
Exemplo n.º 2
0
        /// <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);
        }