/// <summary>
 /// ReadItems <paramref name="items"/> from the <paramref name="sndfile"/> audio file into the audio
 /// <paramref name="buffer"/>. Items must be a product of the # of channels for
 /// the <paramref name="sndfile"/>.
 /// </summary>
 /// <param name="sndfile">Audio file to read from.</param>
 /// <param name="buffer">Buffer to fill.</param>
 /// <param name="items">Number of items to put in the <paramref name="buffer"/>.</param>
 /// <returns>Returns the number of items read. Should be equal to <paramref name="items"/> unless
 /// you've reached EOF.</returns>
 public long ReadItems(IntPtr sndfile, short[] buffer, long items)
 {
     return(LibsndfileApiNative.sf_read_short(sndfile, buffer, items));
 }