Esempio n. 1
0
        public static void GetSource(uint sid, ALSourceb param, out bool value)
        {
            int ivalue;

            ALDelegates.alGetSourcei(sid, (int)param, out ivalue);
            value = (ivalue != 0);
        }
Esempio n. 2
0
 public static void SourcePause(int ns, uint[] sids)
 {
     ALDelegates.alSourcePausev(ns, sids);
 }
Esempio n. 3
0
 public static int GetError()
 {
     return(ALDelegates.alGetError());
 }
Esempio n. 4
0
 public static float GetFloat(ALGetFloat param)
 {
     return(ALDelegates.alGetFloat((int)param));
 }
Esempio n. 5
0
//		public static void GetDouble(int param, double[] data) {
//			ALDelegates.alGetDoublev(param, data);
//		}
        public static bool GetBoolean(ALGetInteger param)
        {
            return(ALDelegates.alGetBoolean((int)param));
        }
Esempio n. 6
0
 public static void GetInteger(ALGetInteger param, int[] data)
 {
     ALDelegates.alGetIntegerv((int)param, data);
 }
Esempio n. 7
0
        public static unsafe string GetString(ALGetString param)
        {
            sbyte *bptr = ALDelegates.alGetString((int)param);

            return(new string(bptr));
        }
Esempio n. 8
0
 public static void DistanceModel(int distanceModel)
 {
     ALDelegates.alDistanceModel(distanceModel);
 }
Esempio n. 9
0
 public static void GenBuffers(int n, out uint buffer)
 {
     ALDelegates.alGenBuffer(n, out buffer);
 }
Esempio n. 10
0
 public static void GenBuffers(int n, uint[] buffers)
 {
     ALDelegates.alGenBuffers(n, buffers);
 }
Esempio n. 11
0
 public static void SourceUnqueueBuffers(uint sid, int numEntries, uint[] bids)
 {
     ALDelegates.alSourceUnqueueBuffers(sid, numEntries, bids);
 }
Esempio n. 12
0
 public static void SourcePause(uint sid)
 {
     ALDelegates.alSourcePause(sid);
 }
Esempio n. 13
0
 public static void SourceRewind(uint sid)
 {
     ALDelegates.alSourceRewind(sid);
 }
Esempio n. 14
0
 public static void SourceStop(uint sid)
 {
     ALDelegates.alSourceStop(sid);
 }
Esempio n. 15
0
 public static void SourcePlay(uint sid)
 {
     ALDelegates.alSourcePlay(sid);
 }
Esempio n. 16
0
 public static void SpeedOfSound(float value)
 {
     ALDelegates.alSpeedOfSound(value);
 }
Esempio n. 17
0
 public static void Disable(ALCapability capability)
 {
     ALDelegates.alDisable((int)capability);
 }
Esempio n. 18
0
 public static void DeleteBuffers(int n, uint[] buffers)
 {
     ALDelegates.alDeleteBuffers(n, buffers);
 }
Esempio n. 19
0
 public static bool IsEnabled(ALCapability capability)
 {
     return(ALDelegates.alIsEnabled((int)capability));
 }
Esempio n. 20
0
 public static void DeleteBuffers(int n, ref uint buffer)
 {
     ALDelegates.alDeleteBuffer(n, ref buffer);
 }
Esempio n. 21
0
 public static void GetBoolean(ALGetInteger param, bool[] data)
 {
     ALDelegates.alGetBooleanv((int)param, data);
 }
Esempio n. 22
0
 public static bool IsBuffer(uint bid)
 {
     return(ALDelegates.alIsBuffer(bid));
 }
Esempio n. 23
0
 public static void GetFloat(ALGetFloat param, float[] data)
 {
     ALDelegates.alGetFloatv((int)param, data);
 }
Esempio n. 24
0
 public static void BufferData(uint bid, ALFormat format, IntPtr data, int size, int freq)
 {
     ALDelegates.alBufferData(bid, (int)format, data, size, freq);
 }
Esempio n. 25
0
 public static int GetInteger(ALGetInteger param)
 {
     return(ALDelegates.alGetInteger((int)param));
 }
Esempio n. 26
0
//		public static void Buffer(uint bid, int param, float value) {
//			ALDelegates.alBufferf(bid, param, value);
//		}
//		public static void Buffer(uint bid, int param, float value1, float value2, float value3) {
//			ALDelegates.alBuffer3f(bid, param, value1, value2, value3);
//		}
//		public static void Buffer(uint bid, int param, float[] values) {
//			ALDelegates.alBufferfv(bid, param, values);
//		}
//		public static void Buffer(uint bid, int param, int value) {
//			ALDelegates.alBufferi(bid, param, value);
//		}
//		public static void Buffer(uint bid, int param, int value1, int value2, int value3) {
//			ALDelegates.alBuffer3i(bid, param, value1, value2, value3);
//		}
//		public static void Buffer(uint bid, int param, int[] values) {
//			ALDelegates.alBufferiv(bid, param, values);
//		}
//		public static void GetBuffer(uint bid, int param, out float value) {
//			ALDelegates.alGetBufferf(bid, param, out value);
//		}
//		public static void GetBuffer(uint bid, int param, out float value1, out float value2, out float value3) {
//			ALDelegates.alGetBuffer3f(bid, param, out value1, out value2, out value3);
//		}
//		public static void GetBuffer(uint bid, int param, float[] values) {
//			ALDelegates.alGetBufferfv(bid, param, values);
//		}
        public static void GetBuffer(uint bid, ALGetBufferi param, out int value)
        {
            ALDelegates.alGetBufferi(bid, (int)param, out value);
        }
Esempio n. 27
0
 public static double GetDouble(int param)
 {
     return(ALDelegates.alGetDouble(param));
 }
Esempio n. 28
0
//		public static void GetBuffer(uint bid, int param, out int value1, out int value2, out int value3) {
//			ALDelegates.alGetBuffer3i(bid, param, out value1, out value2, out value3);
//		}
//		public static void GetBuffer(uint bid, int param, int[] values) {
//			ALDelegates.alGetBufferiv(bid, param, values);
//		}
        public static void DopplerFactor(float value)
        {
            ALDelegates.alDopplerFactor(value);
        }
Esempio n. 29
0
 public static bool IsExtensionPresent(string extname)
 {
     return(ALDelegates.alIsExtensionPresent(extname));
 }
Esempio n. 30
0
 public static void DopplerVelocity(float value)
 {
     ALDelegates.alDopplerVelocity(value);
 }