示例#1
0
 public override int Set(SoundPcm pcm, uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetPeriodTime(pcm.handle, owner, value, dir));
 }
示例#2
0
 public override int SetLast(SoundPcm pcm, out uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetPeriodTimeLast(pcm.handle, owner, out value, ref dir));
 }
示例#3
0
 public override int Test(SoundPcm pcm, uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsTestRate(pcm.handle, owner, value, dir));
 }
示例#4
0
 public override int SetMax(SoundPcm pcm, ref uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetRateMax(pcm.handle, owner, ref value, ref dir));
 }
示例#5
0
 public override int SetInteger(SoundPcm pcm)
 {
     throw new NotSupportedException();
 }
示例#6
0
 public abstract int SetLast(SoundPcm pcm, out uint value, int dir = 0);
示例#7
0
 public override int Set(SoundPcm pcm, uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetAccess(pcm.handle, owner, value));
 }
示例#8
0
 public override int SetMinMax(SoundPcm pcm, ref uint min, ref uint max, int mindir = 0, int maxdir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetPeriodTimeMinMax(pcm.handle, owner, ref min, ref mindir, ref max, ref maxdir));
 }
示例#9
0
 public static uint SamplesToBytes(this SoundPcm pcm, uint samples)
 {
     return(SoundNativeMethods.SoundPcmSamplesToBytes(pcm.handle, samples));
 }
示例#10
0
 public abstract int SetMask(SoundPcm pcm, UnmanagedObject mask);
示例#11
0
 public static uint BytesToSamples(this SoundPcm pcm, uint bytes)
 {
     return(SoundNativeMethods.SoundPcmBytesToSamples(pcm.handle, bytes));
 }
示例#12
0
 public static uint FramesToBytes(this SoundPcm pcm, uint frames)
 {
     return(SoundNativeMethods.SoundPcmFramesToBytes(pcm.handle, frames));
 }
示例#13
0
 public int FillAny(SoundPcm pcm)
 {
     return(SoundNativeMethods.SoundPcmHwParamsAny(pcm.handle, handle));
 }
示例#14
0
 public abstract int SetMinMax(SoundPcm pcm, ref uint min, ref uint max, int mindir = 0, int maxdir = 0);
示例#15
0
 public override int SetLast(SoundPcm pcm, out uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetFormatLast(pcm.handle, owner, out value));
 }
示例#16
0
 public abstract int SetNear(SoundPcm pcm, ref uint value, int dir = 0);
示例#17
0
 public override int SetMask(SoundPcm pcm, UnmanagedObject mask)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetFormatMask(pcm.handle, owner, mask.handle));
 }
示例#18
0
 public override int SetNear(SoundPcm pcm, ref uint value, int dir = 0)
 {
     return(SoundNativeMethods.SoundPcmHwParamsSetPeriodTimeNear(pcm.handle, owner, ref value, ref dir));
 }
示例#19
0
 public int Link(SoundPcm pcm)
 {
     return(SoundNativeMethods.SoundPcmLink(handle, pcm.handle));
 }
示例#20
0
 public abstract int SetInteger(SoundPcm pcm);
示例#21
0
 public abstract int Set(SoundPcm pcm, uint value, int dir = 0);