Ejemplo n.º 1
0
        public int ElementUnlock(out SoundControlElementId id)
        {
            int ret = SoundNativeMethods.SoundControlElementUnlock(handle, out IntPtr ptr);

            id = new SoundControlElementId(ptr);
            return(ret);
        }
Ejemplo n.º 2
0
        public void GetId(out SoundControlElementId elem)
        {
            IntPtr ptr;

            SoundNativeMethods.SoundControlEventElementGetId(handle, out ptr);
            elem = new SoundControlElementId(ptr);
        }
Ejemplo n.º 3
0
        public void GetId(uint idx, out SoundControlElementId elem)
        {
            IntPtr ptr;

            SoundNativeMethods.SoundControlElementListGetId(handle, idx, out ptr);
            elem = new SoundControlElementId(ptr);
        }
Ejemplo n.º 4
0
 public void Copy(ref SoundControlElementId obj)
 {
     SoundNativeMethods.SoundControlElementIdCopy(handle, obj.handle);
 }
Ejemplo n.º 5
0
 public void SetId(SoundControlElementId elem)
 {
     SoundNativeMethods.SoundControlElementInfoSetId(handle, elem.handle);
 }
Ejemplo n.º 6
0
 public int ConvertFromdB(ref SoundControlElementId id, int dBGain, out int value, int xdir)
 {
     return(SoundNativeMethods.SoundControlConvertFromdB(handle, ref id.handle, dBGain, out value, xdir));
 }
Ejemplo n.º 7
0
 public int ConvertTodB(ref SoundControlElementId id, int volume, out int gain)
 {
     return(SoundNativeMethods.SoundControlConvertTodB(handle, ref id.handle, volume, out gain));
 }
Ejemplo n.º 8
0
 public int GetdBRange(ref SoundControlElementId id, out int min, out int max)
 {
     return(SoundNativeMethods.SoundControlGetdBRange(handle, ref id.handle, out min, out max));
 }
Ejemplo n.º 9
0
 public int CommandTLVForElement(SoundControlElementId id, uint[] tlv)
 {
     return(SoundNativeMethods.SoundControlElementTLVCommand(handle, id.handle, tlv));
 }
Ejemplo n.º 10
0
 public int WriteTLVToElement(SoundControlElementId id, uint[] tlv)
 {
     return(SoundNativeMethods.SoundControlElementTLVWrite(handle, id.handle, tlv));
 }
Ejemplo n.º 11
0
 public int ReadTLVFromElement(SoundControlElementId id, uint[] tlv, uint tlvSize)
 {
     return(SoundNativeMethods.SoundControlElementTLVRead(handle, id.handle, tlv, tlvSize));
 }