/// <summary>
 /// Forces operating system to write buffers to disk. Only works if <paramref name="sndfile"/> is
 /// opened in <see cref="LibsndfileMode"/> SFM_WRITE or SFM_RDWR.
 /// </summary>
 /// <param name="sndfile">Audio file you wish to flush buffers on.</param>
 public void WriteSync(IntPtr sndfile)
 {
     LibsndfileApiNative.sf_write_sync(sndfile);
 }