public virtual float GetProperty(int handle, ALSourcef property) { float value; AL.GetSource(handle, property, out value); ctx.CheckErrors(); return(value); }
private float Get(ALSourcef param) { AssertNotDisposed(); float result; AL.GetSource(IDs[0], param, out result); DotGame.OpenAL.AudioDevice.CheckALError(); return(result); }
private void Set(ALSourcef param, float value) { AssertNotDisposed(); for (int i = 0; i < IDs.Count; i++) { AL.Source(IDs[i], param, value); } DotGame.OpenAL.AudioDevice.CheckALError(); }
public static void GetSource(uint sid, ALSourcef param, out float value);
public static extern void Source(uint sid, ALSourcef param, float value);
internal void Set(ALSourcef param, double value) { using (Context.Bind()) AL.Source(Id, param, (float)value); }
public static void GetSource(int sid, ALSourcef param, out float value) { GetSource(unchecked ((uint)sid), param, out value); }
public static void Source(int sid, ALSourcef param, float value) { Source(unchecked ((uint)sid), param, 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 extern void GetSource(int sid, ALSourcef param, [Out] out float value);
public static void Source(uint sid, ALSourcef param, float value) { alSourcef(sid, (int)param, value); }
internal static extern void Listenerf(ALSourcef param, float value);
public static void Source(uint source, ALSourcef i, float dist) => alSourcef(source, i, dist);
public void Source(int sourceHandle, ALSourcef param, float @value) => AL.Source(sourceHandle, param, @value);
public static void GetSource(int sid, ALSourcef param, out float value) { AL.GetSource((uint)sid, param, out value); }
public static extern void Source(int sid, ALSourcef param, float value);
// public static void Source(uint sid, int param, int[] values) { // AL64.alSourceiv(sid, param, values); // } public static void GetSource(uint sid, ALSourcef param, out float value) { alGetSourcef(sid, (int)param, out value); }
public static void Source(uint sid, ALSourcef param, float value) { ALDelegates.alSourcef(sid, (int)param, value); }
public virtual void SetProperty(int handle, ALSourcef property, float value) { ctx.Call(AL.Source, handle, property, value); }
private static extern void Source(uint sid, ALSourcef param, float value);
internal static void Source(int sourceId, ALSourcef i, float dist) { alSourcef(sourceId, i, dist); }
private static extern void GetSource(uint sid, ALSourcef param, out float value);
public static void Source(uint sid, ALSourcef param, float value);
internal double Get(ALSourcef param) { float value; using (Context.Bind()) AL.GetSource(Id, param, out value); return(value); }
public static void Source(int sid, ALSourcef param, float value) { AL.Source((uint)sid, param, value); }
internal static extern void Source(int sourceId, ALSourcef i, float a);
public static extern void GetSource(uint sid, ALSourcef param, [Out] out float value);