Beispiel #1
0
        public virtual float GetProperty(int handle, ALSourcef property)
        {
            float value;

            AL.GetSource(handle, property, out value);
            ctx.CheckErrors();
            return(value);
        }
Beispiel #2
0
        private float Get(ALSourcef param)
        {
            AssertNotDisposed();
            float result;

            AL.GetSource(IDs[0], param, out result);
            DotGame.OpenAL.AudioDevice.CheckALError();
            return(result);
        }
Beispiel #3
0
 private void Set(ALSourcef param, float value)
 {
     AssertNotDisposed();
     for (int i = 0; i < IDs.Count; i++)
     {
         AL.Source(IDs[i], param, value);
     }
     DotGame.OpenAL.AudioDevice.CheckALError();
 }
Beispiel #4
0
 public static void GetSource(uint sid, ALSourcef param, out float value);
Beispiel #5
0
 public static extern void Source(uint sid, ALSourcef param, float value);
Beispiel #6
0
 internal void Set(ALSourcef param, double value)
 {
     using (Context.Bind()) AL.Source(Id, param, (float)value);
 }
Beispiel #7
0
 public static void GetSource(int sid, ALSourcef param, out float value)
 {
     GetSource(unchecked ((uint)sid), param, out value);
 }
Beispiel #8
0
 public static void Source(int sid, ALSourcef param, float value)
 {
     Source(unchecked ((uint)sid), param, value);
 }
Beispiel #9
0
//		public static void Source(uint sid, int param, int[] values) {
//			ALDelegates.alSourceiv(sid, param, values);
//		}
        public static void GetSource(uint sid, ALSourcef param, out float value)
        {
            ALDelegates.alGetSourcef(sid, (int)param, out value);
        }
Beispiel #10
0
 public static extern void GetSource(int sid, ALSourcef param, [Out] out float value);
Beispiel #11
0
		public static void Source(uint sid, ALSourcef param, float value) {
			alSourcef(sid, (int)param, value);
		} 
Beispiel #12
0
 internal static extern void Listenerf(ALSourcef param, float value);
Beispiel #13
0
 public static void Source(uint source, ALSourcef i, float dist) => alSourcef(source, i, dist);
Beispiel #14
0
 public void Source(int sourceHandle, ALSourcef param, float @value) => AL.Source(sourceHandle, param, @value);
Beispiel #15
0
 public static void GetSource(int sid, ALSourcef param, out float value)
 {
     AL.GetSource((uint)sid, param, out value);
 }
Beispiel #16
0
 public static extern void Source(int sid, ALSourcef param, float value);
Beispiel #17
0
//		public static void Source(uint sid, int param, int[] values) {
//			AL64.alSourceiv(sid, param, values);
//		}
		public static void GetSource(uint sid, ALSourcef param, out float value) {
			alGetSourcef(sid, (int)param, out value);
		}
Beispiel #18
0
 public static void Source(uint sid, ALSourcef param, float value)
 {
     ALDelegates.alSourcef(sid, (int)param, value);
 }
Beispiel #19
0
 public virtual void SetProperty(int handle, ALSourcef property, float value)
 {
     ctx.Call(AL.Source, handle, property, value);
 }
Beispiel #20
0
 private static extern void Source(uint sid, ALSourcef param, float value);
Beispiel #21
0
 internal static void Source(int sourceId, ALSourcef i, float dist)
 {
     alSourcef(sourceId, i, dist);
 }
Beispiel #22
0
 private static extern void GetSource(uint sid, ALSourcef param, out float value);
Beispiel #23
0
 public static void Source(uint sid, ALSourcef param, float value);
Beispiel #24
0
 internal double Get(ALSourcef param)
 {
     float value; using (Context.Bind()) AL.GetSource(Id, param, out value); return(value);
 }
Beispiel #25
0
 public static void Source(int sid, ALSourcef param, float value)
 {
     AL.Source((uint)sid, param, value);
 }
Beispiel #26
0
 internal static extern void Source(int sourceId, ALSourcef i, float a);
Beispiel #27
0
 public static extern void GetSource(uint sid, ALSourcef param, [Out] out float value);