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