public static unsafe int SourceUnqueueBuffer(int sid) { uint num; AL.SourceUnqueueBuffers((uint)sid, 1, &num); return((int)num); }
public static int[] SourceUnqueueBuffers(int sid, int numEntries) { if (numEntries <= 0) { throw new ArgumentOutOfRangeException("numEntries", "Must be greater than zero."); } int[] bids = new int[numEntries]; AL.SourceUnqueueBuffers(sid, numEntries, bids); return(bids); }