public static unsafe void Listener(ALListenerfv param, ref Vector3 at, ref Vector3 up) { fixed(float *values = &new float[6] { at.X, at.Y, at.Z, up.X, up.Y, up.Z }[0]) AL.ListenerPrivate(param, values); }
public static unsafe void Listener(ALListenerfv param, ref float[] values) { fixed(float *values1 = &values[0]) AL.ListenerPrivate(param, values1); }