예제 #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
파일: SoundPcm.cs 프로젝트: crojewsk/sALSA
 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);