packages feed

hsndfile 0.7.1 → 0.8.0

raw patch · 6 files changed

+44/−43 lines, 6 files

Files

+ CHANGELOG.md view
@@ -0,0 +1,36 @@+### [v0.7](https://github.com/kaoskorobase/hsndfile/tree/v0.7.1)++* Read and write signed instead of unsigned integer samples and rename `sf_readf_wordXX` and `sf_writef_wordXX` to `sf_readf_intXX` and `sf_writef_intXX`, respectively+* Add new supported header and sample formats++### v0.6++* Don't export `Control.Exception.catch` and `Prelude` from `Sound.File.Sndfile`++### v0.5++* Remove lazy read functions `hGetContentChunks` and `readFileChunks` from library interface. Those functions were implemented incorrectly.++### v0.4++* Simplified Buffer API: A single type class, **Buffer**, is provided for **ForeignPtr** based I/O. Instances are provided in separate packages, e.g. [hsndfile-vector](http://hackage.haskell.org/package/hsndfile-vector).++### v0.3.2++* **hsndfile** has been adapted to compile with GHC 6.10. The only+  visible change is in exception handling:+    * `Sound.File.Sndfile.Exception.Exception` is now an instance of+      `Control.Exception.Exception`+    * The new generalized functions from `Control.Exception.Exception` are+      used for throwing and handling exceptions++### v0.2.0++* Fix exception throwing Exceptions detected in library code are+  now actually raised. Exception has been factored into+  Sound.File.Sndfile.Exception and constructors were added according to the+  public libsndfile error codes.+* Fix reading/writing of frames hGetFrames and hPutFrames were+  using the sample-based library functions. These have been factored into+  Sound.File.Sndfile.Buffer and the correct functions are being used for the+  frame-based I/O functions.
− ChangeLog.md
@@ -1,36 +0,0 @@-### v0.7--* Read and write signed instead of unsigned integer samples and rename `sf_readf_wordXX` and `sf_writef_wordXX` to `sf_readf_intXX` and `sf_writef_intXX`, respectively-* Add new supported header and sample formats--### v0.6--* Don't export `Control.Exception.catch` and `Prelude` from `Sound.File.Sndfile`--### v0.5--* Remove lazy read functions `hGetContentChunks` and `readFileChunks` from library interface. Those functions were implemented incorrectly.--### v0.4--* Simplified Buffer API: A single type class, **Buffer**, is provided for **ForeignPtr** based I/O. Instances are provided in separate packages, e.g. [hsndfile-vector](http://hackage.haskell.org/package/hsndfile-vector).--### v0.3.2--* **hsndfile** has been adapted to compile with GHC 6.10. The only-  visible change is in exception handling:-    * `Sound.File.Sndfile.Exception.Exception` is now an instance of-      `Control.Exception.Exception`-    * The new generalized functions from `Control.Exception.Exception` are-      used for throwing and handling exceptions--### v0.2.0--* Fix exception throwing Exceptions detected in library code are-  now actually raised. Exception has been factored into-  Sound.File.Sndfile.Exception and constructors were added according to the-  public libsndfile error codes.-* Fix reading/writing of frames hGetFrames and hPutFrames were-  using the sample-based library functions. These have been factored into-  Sound.File.Sndfile.Buffer and the correct functions are being used for the-  frame-based I/O functions.
README.md view
@@ -2,7 +2,7 @@  ### Authors -Copyright (c) Stefan Kersten 2007-2012 with contributions by+Copyright (c) Stefan Kersten 2007-2015 with contributions by  * Conrad Parker * Rohan Drape
Sound/File/Sndfile.hs view
@@ -16,7 +16,7 @@     -- *Stream info     Info(..), duration, defaultInfo, checkFormat,     -- *Stream handle operations-    Handle, hInfo, hIsSeekable,+    Handle, hInfo, hPtr, HandlePtr, hIsSeekable,     IOMode(..), openFile, getFileInfo, hFlush, hClose,     SeekMode(..), hSeek, hSeekRead, hSeekWrite     -- *I\/O functions
Sound/File/Sndfile/Interface.chs view
@@ -5,7 +5,7 @@ import           Control.Monad (liftM, when) import           Foreign hiding (unsafePerformIO) import           Foreign.C-import qualified Sound.File.Sndfile.Exception	as E+import qualified Sound.File.Sndfile.Exception as E import           System.IO.Unsafe (unsafePerformIO)  #include <stdint.h>@@ -244,8 +244,9 @@ -- | Abstract file handle. data Handle = Handle {     hInfo :: Info,      -- ^Return the stream 'Info' associated with the 'Handle'.-    hPtr :: HandlePtr+    hPtr :: HandlePtr   -- ^Return the bare C pointer for the 'Handle'. }+-- | Corresponds to a @SNDFILE*@ in C. type HandlePtr = Ptr ()  -- | I\/O mode.
hsndfile.cabal view
@@ -1,9 +1,9 @@ Name:                   hsndfile-Version:                0.7.1+Version:                0.8.0 Category:               Data, Sound License:                LGPL-2.1 License-File:           COPYING-Copyright:              Stefan Kersten, 2007-2013+Copyright:              Stefan Kersten, 2007-2015 Author:                 Stefan Kersten Maintainer:             Stefan Kersten <sk@k-hornz.de> Homepage:               http://haskell.org/haskellwiki/Hsndfile@@ -17,7 +17,7 @@ Cabal-Version:          >= 1.6  Extra-Source-Files:-                        ChangeLog.md+                        CHANGELOG.md                         README.md                         examples/normalize.hs