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

            id = new SoundControlElementId(ptr);
            return(ret);
        }
Exemple #2
0
        public void GetId(out SoundControlElementId elem)
        {
            IntPtr ptr;

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

            SoundNativeMethods.SoundControlElementListGetId(handle, idx, out ptr);
            elem = new SoundControlElementId(ptr);
        }
Exemple #4
0
 public void Copy(ref SoundControlElementId obj)
 {
     SoundNativeMethods.SoundControlElementIdCopy(handle, obj.handle);
 }
 public void SetId(SoundControlElementId elem)
 {
     SoundNativeMethods.SoundControlElementInfoSetId(handle, elem.handle);
 }
Exemple #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));
 }
Exemple #7
0
 public int ConvertTodB(ref SoundControlElementId id, int volume, out int gain)
 {
     return(SoundNativeMethods.SoundControlConvertTodB(handle, ref id.handle, volume, out gain));
 }
Exemple #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));
 }
Exemple #9
0
 public int CommandTLVForElement(SoundControlElementId id, uint[] tlv)
 {
     return(SoundNativeMethods.SoundControlElementTLVCommand(handle, id.handle, tlv));
 }
Exemple #10
0
 public int WriteTLVToElement(SoundControlElementId id, uint[] tlv)
 {
     return(SoundNativeMethods.SoundControlElementTLVWrite(handle, id.handle, tlv));
 }
Exemple #11
0
 public int ReadTLVFromElement(SoundControlElementId id, uint[] tlv, uint tlvSize)
 {
     return(SoundNativeMethods.SoundControlElementTLVRead(handle, id.handle, tlv, tlvSize));
 }