private void Set(ALSourcei param, int value) { AssertNotDisposed(); for (int i = 0; i < IDs.Count; i++) { AL.Source(IDs[i], param, value); } DotGame.OpenAL.AudioDevice.CheckALError(); }
internal void Set(ALSourcei param, AudioResource value) { Set(param, value != null ? value.Id : 0); }
internal void Set(ALSourcei param, int value) { using (Context.Bind()) AL.Source(Id, param, value); }
public static void Source(int sourceId, ALSourcei i, int a) { Source(sourceId, (int)i, a); }
public static void Source(int sid, ALSourcei param, int value) { Source(unchecked ((uint)sid), param, value); }
private static extern void Source(uint sid, ALSourcei param, int value);
// 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(int sid, ALSourcei param, int value) { AL.Source((uint)sid, param, value); }
public static extern void Source(int sid, ALSourcei param, int value);
// public static void GetSource(uint sid, int param, float[] values) { // AL64.alGetSourcefv(sid, param, values); // } public static void GetSource(uint sid, ALSourcei param, out int value) { alGetSourcei(sid, (int)param, out value); }
public static void Source(uint sid, ALSourcei param, int value);
// public static void Source(uint sid, int param, float[] values) { // AL64.alSourcefv(sid, param, values); // } public static void Source(uint sid, ALSourcei param, int value) { alSourcei(sid, (int)param, value); }
public static void Source(uint source, ALSourcei i, uint a) => Source(source, i, (int)a);
public static void Source(uint source, ALSourcei i, int a) => alSourcei(source, (int)i, a);
internal static extern void Source(int sourceId, ALSourcei i, int a, int b, int c);
// 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); }
internal static void Source(int sourceId, ALSourcei i, int a) { Source(sourceId, (int)i, a); }
public static extern void Source(uint sid, ALSourcei param, uint value);