コード例 #1
0
 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);
 }
コード例 #2
0
 public static unsafe void SourceQueueBuffer(int source, int buffer)
 {
     AL.SourceQueueBuffers((uint)source, 1, (uint *)&buffer);
 }
コード例 #3
0
 public static unsafe void SourceQueueBuffers(uint sid, int numEntries, ref uint bids)
 {
     fixed(uint *bids1 = &bids)
     AL.SourceQueueBuffers(sid, numEntries, bids1);
 }