private void Set(ALSource3f param, Vector3 value) { AssertNotDisposed(); for (int i = 0; i < IDs.Count; i++) { AL.Source(IDs[i], param, value.X, value.Y, value.Z); } DotGame.OpenAL.AudioDevice.CheckALError(); }
private Vector3 Get(ALSource3f param) { AssertNotDisposed(); Vector3 result; AL.GetSource(IDs[0], param, out result.X, out result.Y, out result.Z); DotGame.OpenAL.AudioDevice.CheckALError(); return(result); }
public static void Source(uint sid, ALSource3f param, float value1, float value2, float value3) { ALDelegates.alSource3f(sid, (int)param, value1, value2, value3); }
public static extern void GetSource(int sid, ALSource3f param, [Out] out float value1, [Out] out float value2, [Out] out float value3);
public static extern void Source(int sid, ALSource3f param, float value1, float value2, float value3);
internal void Set(ALSource3f param, Vector3d value) { using (Context.Bind()) AL.Source(Id, param, (float)value.X, (float)value.Y, (float)value.Z); }
public static void GetSource(int sid, ALSource3f param, out float value1, out float value2, out float value3) { GetSource(unchecked ((uint)sid), param, out value1, out value2, out value3); }
public static void Source(int sid, ALSource3f param, float value1, float value2, float value3) { Source(unchecked ((uint)sid), param, value1, value2, value3); }
public static void Source(int sid, ALSource3f param, float value1, float value2, float value3) { AL.Source((uint)sid, param, value1, value2, value3); }
public static void Source(uint sid, ALSource3f param, float value1, float value2, float value3);
internal static void Source(int sourceId, ALSource3f i, float x, float y, float z) { alSource3f(sourceId, i, x, y, z); }
public virtual void SetProperty(int handle, ALSource3f property, Vector3 value) { ctx.Call(() => AL.Source(handle, property, ref value)); }
public static void GetSource(uint sid, ALSource3f param, out float value1, out float value2, out float value3) { alGetSource3f(sid, (int)param, out value1, out value2, out value3); }
public static void Source(uint sid, ALSource3f param, float value1, float value2, float value3) { alSource3f(sid, (int)param, value1, value2, value3); }
public static void Source(uint source, ALSource3f i, float x, float y, float z) => alSource3f(source, i, x, y, z);
public static void GetSource(uint sid, ALSource3f param, out float value1, out float value2, out float value3) { ALDelegates.alGetSource3f(sid, (int)param, out value1, out value2, out value3); }
private static extern void Source(uint sid, ALSource3f param, float value1, float value2, float value3);
public static void Source(int sid, ALSource3f param, ref Vector3 values) { AL.Source((uint)sid, param, values.X, values.Y, values.Z); }
private static extern void GetSource(uint sid, ALSource3f param, out float value1, out float value2, out float value3);
public static void GetSource(uint sid, ALSource3f param, out float value1, out float value2, out float value3);
internal Vector3d Get(ALSource3f param) { float x, y, z; using (Context.Bind()) AL.GetSource(Id, param, out x, out y, out z); return(new Vector3d(x, y, z)); }
public static void GetSource(int sid, ALSource3f param, out float value1, out float value2, out float value3) { AL.GetSource((uint)sid, param, out value1, out value2, out value3); }
internal static extern void Source(int sourceId, ALSource3f i, float x, float y, float z);
public static void GetSource(int sid, ALSource3f param, out Vector3 values) { AL.GetSource((uint)sid, param, out values.X, out values.Y, out values.Z); }