title: Core-audio - constructing an AudioBufferList struct (Q about c struct definition)
body: <p>The definition of AudioBufferList looks weird to me… i guess my C is not so good</p>
  
  <pre><code>struct AudioBufferList
  {
      UInt32      mNumberBuffers;
      AudioBuffer mBuffers[kVariableLengthArray];
  };
  typedef struct AudioBufferList  AudioBufferList;
  </code></pre>
  
  <p>Why </p>
  
  <pre><code>AudioBuffer mBuffers[kVariableLengthArray];
  </code></pre>
  
  <p>and not</p>
  
  <pre><code>AudioBuffer *mBuffers;
  </code></pre>
  
  <p>?</p>
  
  <p>kVariableLengthArray appears to be == 1. Eh?</p>
  
  <p>I think i have it working but would appreciate it if anyone could set me straight.</p>