Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data Handle y
- type Time = Int
- type SampleFreq = Int
- type Size = Int
- class (Storable y, C y) => SampleFmt y
- open :: SampleFmt y => IOMode -> FilePath -> IO (Handle y)
- close :: SampleFmt y => Handle y -> IO ()
- read :: SampleFmt y => Handle y -> Ptr y -> Size -> IO Size
- write :: SampleFmt y => Handle y -> Ptr y -> Size -> IO ()
Types
type SampleFreq = Int Source #
Classes
class (Storable y, C y) => SampleFmt y Source #