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, AlSourceb param, bool value) { AlDelegates.alSourcei(sid, (int)param, value ? 1 : 0); }