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