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