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

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

            AL.GetSource(IDs[0], param, out result);
            DotGame.OpenAL.AudioDevice.CheckALError();
            return(result);
        }
예제 #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();
 }
예제 #4
0
 public static void GetSource(uint sid, ALSourcef param, out float value);
예제 #5
0
 public static extern void Source(uint sid, ALSourcef param, float value);
예제 #6
0
 internal void Set(ALSourcef param, double value)
 {
     using (Context.Bind()) AL.Source(Id, param, (float)value);
 }
예제 #7
0
 public static void GetSource(int sid, ALSourcef param, out float value)
 {
     GetSource(unchecked ((uint)sid), param, out value);
 }
예제 #8
0
 public static void Source(int sid, ALSourcef param, float value)
 {
     Source(unchecked ((uint)sid), param, value);
 }
예제 #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);
        }
예제 #10
0
 public static extern void GetSource(int sid, ALSourcef param, [Out] out float value);
예제 #11
0
		public static void Source(uint sid, ALSourcef param, float value) {
			alSourcef(sid, (int)param, value);
		} 
예제 #12
0
파일: OpenAL.cs 프로젝트: hadow/Commander
 internal static extern void Listenerf(ALSourcef param, float value);
예제 #13
0
 public static void Source(uint source, ALSourcef i, float dist) => alSourcef(source, i, dist);
예제 #14
0
 public void Source(int sourceHandle, ALSourcef param, float @value) => AL.Source(sourceHandle, param, @value);
예제 #15
0
 public static void GetSource(int sid, ALSourcef param, out float value)
 {
     AL.GetSource((uint)sid, param, out value);
 }
예제 #16
0
 public static extern void Source(int sid, ALSourcef param, float value);
예제 #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);
		}
예제 #18
0
 public static void Source(uint sid, ALSourcef param, float value)
 {
     ALDelegates.alSourcef(sid, (int)param, value);
 }
예제 #19
0
 public virtual void SetProperty(int handle, ALSourcef property, float value)
 {
     ctx.Call(AL.Source, handle, property, value);
 }
예제 #20
0
 private static extern void Source(uint sid, ALSourcef param, float value);
예제 #21
0
 internal static void Source(int sourceId, ALSourcef i, float dist)
 {
     alSourcef(sourceId, i, dist);
 }
예제 #22
0
 private static extern void GetSource(uint sid, ALSourcef param, out float value);
예제 #23
0
 public static void Source(uint sid, ALSourcef param, float value);
예제 #24
0
 internal double Get(ALSourcef param)
 {
     float value; using (Context.Bind()) AL.GetSource(Id, param, out value); return(value);
 }
예제 #25
0
 public static void Source(int sid, ALSourcef param, float value)
 {
     AL.Source((uint)sid, param, value);
 }
예제 #26
0
 internal static extern void Source(int sourceId, ALSourcef i, float a);
예제 #27
0
 public static extern void GetSource(uint sid, ALSourcef param, [Out] out float value);