Example #1
0
        public static unsafe int SourceUnqueueBuffer(int sid)
        {
            uint num;

            AL.SourceUnqueueBuffers((uint)sid, 1, &num);
            return((int)num);
        }
Example #2
0
 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);
 }