示例#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);
        }
示例#2
0
 public static void Source(uint sid, AlSourcef param, float value)
 {
     AlDelegates.alSourcef(sid, (int)param, value);
 }
示例#3
0
 public static void SpeedOfSound(float value)
 {
     AlDelegates.alSpeedOfSound(value);
 }
示例#4
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);
        }
示例#5
0
 public static void BufferData(uint bid, AlFormat format, IntPtr data, int size, int freq)
 {
     AlDelegates.alBufferData(bid, (int)format, data, size, freq);
 }
示例#6
0
 public static void DeleteBuffers(int n, ref uint buffer)
 {
     AlDelegates.alDeleteBuffer(n, ref buffer);
 }
示例#7
0
 public static void GenBuffers(int n, out uint buffer)
 {
     AlDelegates.alGenBuffer(n, out buffer);
 }
示例#8
0
 public static void SourceUnqueueBuffers(uint sid, int numEntries, uint[] bids)
 {
     AlDelegates.alSourceUnqueueBuffers(sid, numEntries, bids);
 }
示例#9
0
 public static void GetSource(uint sid, AlSource3i param, out int value1, out int value2, out int value3)
 {
     AlDelegates.alGetSource3i(sid, (int)param, out value1, out value2, out value3);
 }
示例#10
0
//        public static void GetSource(uint sid, int param, float[] values) {
//            AlDelegates.alGetSourcefv(sid, param, values);
//        }
        public static void GetSource(uint sid, AlSourcei param, out int value)
        {
            AlDelegates.alGetSourcei(sid, (int)param, out value);
        }
示例#11
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);
        }
示例#12
0
 public static void Source(uint sid, AlSourceb param, bool value)
 {
     AlDelegates.alSourcei(sid, (int)param, value ? 1 : 0);
 }
示例#13
0
 public static void Source(uint sid, AlSource3i param, int value1, int value2, int value3)
 {
     AlDelegates.alSource3i(sid, (int)param, value1, value2, value3);
 }
示例#14
0
//        public static void Source(uint sid, int param, float[] values) {
//            AlDelegates.alSourcefv(sid, param, values);
//        }
        public static void Source(uint sid, AlSourcei param, int value)
        {
            AlDelegates.alSourcei(sid, (int)param, value);
        }
示例#15
0
 public static void Source(uint sid, AlSource3f param, float value1, float value2, float value3)
 {
     AlDelegates.alSource3f(sid, (int)param, value1, value2, value3);
 }
示例#16
0
 public static void SourceRewind(uint sid)
 {
     AlDelegates.alSourceRewind(sid);
 }
示例#17
0
 public static void SourcePause(uint sid)
 {
     AlDelegates.alSourcePause(sid);
 }
示例#18
0
//        public static void GetSource(uint sid, int param, int[] values) {
//            AlDelegates.alGetSourceiv(sid, param, values);
//        }
        public static void SourcePlay(int ns, uint[] sids)
        {
            AlDelegates.alSourcePlayv(ns, sids);
        }
示例#19
0
 public static void GenBuffers(int n, uint[] buffers)
 {
     AlDelegates.alGenBuffers(n, buffers);
 }
示例#20
0
 public static void SourceStop(int ns, uint[] sids)
 {
     AlDelegates.alSourceStopv(ns, sids);
 }
示例#21
0
 public static void DeleteBuffers(int n, uint[] buffers)
 {
     AlDelegates.alDeleteBuffers(n, buffers);
 }
示例#22
0
 public static void SourceRewind(int ns, uint[] sids)
 {
     AlDelegates.alSourceRewindv(ns, sids);
 }
示例#23
0
 public static bool IsBuffer(uint bid)
 {
     return(AlDelegates.alIsBuffer(bid));
 }
示例#24
0
 public static void SourcePause(int ns, uint[] sids)
 {
     AlDelegates.alSourcePausev(ns, sids);
 }
示例#25
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);
        }
示例#26
0
 public static void SourcePlay(uint sid)
 {
     AlDelegates.alSourcePlay(sid);
 }
示例#27
0
 public static void DopplerVelocity(float value)
 {
     AlDelegates.alDopplerVelocity(value);
 }
示例#28
0
 public static void SourceStop(uint sid)
 {
     AlDelegates.alSourceStop(sid);
 }
示例#29
0
 public static void DistanceModel(int distanceModel)
 {
     AlDelegates.alDistanceModel(distanceModel);
 }
示例#30
0
 public static bool IsSource(uint sid)
 {
     return(AlDelegates.alIsSource(sid));
 }