public static void GetSource(uint sid, AlSourceb param, out bool value) { int ivalue; AlDelegates.alGetSourcei(sid, (int)param, out ivalue); value = (ivalue != 0); }
public static void Source(uint sid, AlSourcef param, float value) { AlDelegates.alSourcef(sid, (int)param, value); }
public static void SpeedOfSound(float value) { AlDelegates.alSpeedOfSound(value); }
// 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); }
public static void BufferData(uint bid, AlFormat format, IntPtr data, int size, int freq) { AlDelegates.alBufferData(bid, (int)format, data, size, freq); }
public static void DeleteBuffers(int n, ref uint buffer) { AlDelegates.alDeleteBuffer(n, ref buffer); }
public static void GenBuffers(int n, out uint buffer) { AlDelegates.alGenBuffer(n, out buffer); }
public static void SourceUnqueueBuffers(uint sid, int numEntries, uint[] bids) { AlDelegates.alSourceUnqueueBuffers(sid, numEntries, bids); }
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); }
// 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); }
// 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); }
public static void Source(uint sid, AlSourceb param, bool value) { AlDelegates.alSourcei(sid, (int)param, value ? 1 : 0); }
public static void Source(uint sid, AlSource3i param, int value1, int value2, int value3) { AlDelegates.alSource3i(sid, (int)param, value1, value2, value3); }
// 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); }
public static void Source(uint sid, AlSource3f param, float value1, float value2, float value3) { AlDelegates.alSource3f(sid, (int)param, value1, value2, value3); }
public static void SourceRewind(uint sid) { AlDelegates.alSourceRewind(sid); }
public static void SourcePause(uint sid) { AlDelegates.alSourcePause(sid); }
// 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); }
public static void GenBuffers(int n, uint[] buffers) { AlDelegates.alGenBuffers(n, buffers); }
public static void SourceStop(int ns, uint[] sids) { AlDelegates.alSourceStopv(ns, sids); }
public static void DeleteBuffers(int n, uint[] buffers) { AlDelegates.alDeleteBuffers(n, buffers); }
public static void SourceRewind(int ns, uint[] sids) { AlDelegates.alSourceRewindv(ns, sids); }
public static bool IsBuffer(uint bid) { return(AlDelegates.alIsBuffer(bid)); }
public static void SourcePause(int ns, uint[] sids) { AlDelegates.alSourcePausev(ns, sids); }
// 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); }
public static void SourcePlay(uint sid) { AlDelegates.alSourcePlay(sid); }
public static void DopplerVelocity(float value) { AlDelegates.alDopplerVelocity(value); }
public static void SourceStop(uint sid) { AlDelegates.alSourceStop(sid); }
public static void DistanceModel(int distanceModel) { AlDelegates.alDistanceModel(distanceModel); }
public static bool IsSource(uint sid) { return(AlDelegates.alIsSource(sid)); }