public static void SourceQueueBuffers(int sid, int numEntries, int[] bids) { uint[] bids1 = new uint[numEntries]; for (int index = 0; index < numEntries; ++index) { bids1[index] = (uint)bids[index]; } AL.SourceQueueBuffers((uint)sid, numEntries, bids1); }
public static unsafe void SourceQueueBuffer(int source, int buffer) { AL.SourceQueueBuffers((uint)source, 1, (uint *)&buffer); }
public static unsafe void SourceQueueBuffers(uint sid, int numEntries, ref uint bids) { fixed(uint *bids1 = &bids) AL.SourceQueueBuffers(sid, numEntries, bids1); }