/// <summary> /// Sets the scale factor for when integer data is written from the <paramref name="sndfile"/> /// as floating point data. /// </summary> /// <param name="sndfile">Audio file to set float to int scaling.</param> /// <param name="enable">Flag to enable or disable float to int scaling.</param> /// <returns>Previous scaling state.</returns> public bool SetScaleIntFloatWrite(IntPtr sndfile, bool enable) { if (sndfile == IntPtr.Zero) { throw new ArgumentException("File handle is invalid/closed."); } return(m_Api.SetScaleIntFloatWrite(sndfile, enable)); }