sndfile-enumerators 0.5.0 → 0.6.0
raw patch · 2 files changed
+7/−13 lines, 2 filesdep −extensible-exceptionsdep ~basedep ~iterateedep ~mutable-iterPVP ok
version bump matches the API change (PVP)
Dependencies removed: extensible-exceptions
Dependency ranges changed: base, iteratee, mutable-iter
API changes (from Hackage documentation)
- Sound.Iteratee.Base: emptyState :: (WritableAudio a) => a -> AudioStreamState
+ Sound.Iteratee.Base: emptyState :: WritableAudio a => a -> AudioStreamState
- Sound.Iteratee.Base: fileType :: (WritableAudio a) => a -> SupportedFileFormat
+ Sound.Iteratee.Base: fileType :: WritableAudio a => a -> SupportedFileFormat
- Sound.Iteratee.Base: initState :: (WritableAudio a) => a -> Handle -> AudioStreamState
+ Sound.Iteratee.Base: initState :: WritableAudio a => a -> Handle -> AudioStreamState
- Sound.Iteratee.Base: supportedBitDepths :: (WritableAudio a) => a -> SupportedBitDepths
+ Sound.Iteratee.Base: supportedBitDepths :: WritableAudio a => a -> SupportedBitDepths
- Sound.Iteratee.Codecs.Wave: readRiff :: (MonadCatchIO m) => MIteratee (IOB r Word8) m ()
+ Sound.Iteratee.Codecs.Wave: readRiff :: MonadCatchIO m => MIteratee (IOB r Word8) m ()
- Sound.Iteratee.Writer: fileDriverAudio :: (Storable el) => (forall r. MIteratee (IOBuffer r el) AudioMonad a) -> FilePath -> IO a
+ Sound.Iteratee.Writer: fileDriverAudio :: Storable el => (forall r. MIteratee (IOBuffer r el) AudioMonad a) -> FilePath -> IO a
Files
sndfile-enumerators.cabal view
@@ -1,5 +1,5 @@ Name: sndfile-enumerators-Version: 0.5.0+Version: 0.6.0 Cabal-Version: >= 1.2 Description: encode and decode soundfiles using Iteratees. Audio files may be read or written, with classes and @@ -31,21 +31,15 @@ ghc-options: -Wall -fexcess-precision- if flag(splitBase)- build-depends:- base >= 3, base < 5- else- build-depends:- base < 3 build-depends:+ base >= 3 && < 5, binary >= 0.5 && < 0.6, containers >= 0.2 && < 0.5, transformers >= 0.2 && < 0.3,- iteratee >= 0.4 && < 0.6,+ iteratee >= 0.4 && < 0.7, bytestring >= 0.9.1 && < 0.10,- extensible-exceptions >= 0.1 && < 0.2, word24 >= 0.1 && < 0.2,- mutable-iter >= 0.1 && < 0.3,+ mutable-iter >= 0.1 && < 0.5, MonadCatchIO-transformers >= 0.2 && < 0.3 exposed-modules: Sound.Iteratee
src/Sound/Iteratee/Codecs/Wave.hs view
@@ -209,7 +209,7 @@ fmt_m <- dictReadLastFormat dict case fmt_m of Just fmt ->- fmt `seq` (return . Just . WENDUB $ \iter_dub -> do+ fmt `seq` (return . Just $ WENDUB $ \iter_dub -> do MIteratee $ Itr.seek (8 + fromIntegral offset) offp <- liftIO $ newFp 0 bufp <- liftIO $ mallocForeignPtrArray defaultChunkLength@@ -222,13 +222,13 @@ -- return the WaveFormat iteratee readValue _dict offset WAVEFMT count =- return . Just . WENBYTE $ \iter -> do+ return . Just $ WENBYTE $ \iter -> do MIteratee $ Itr.seek (8 + fromIntegral offset) joinIob $ MI.takeUpTo count iter -- for WAVEOTHER, return Word8s and maybe the user can parse them readValue _dict offset (WAVEOTHER _str) count =- return . Just . WENBYTE $ \iter -> do+ return . Just $ WENBYTE $ \iter -> do MIteratee $ Itr.seek (8 + fromIntegral offset) joinIob $ MI.takeUpTo count iter