-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | FFI bindings for libopusfile -- -- FFI bindings for libopusfile @package opusfile @version 0.1.0.1 module Sound.OpusFile newtype Handle Handle :: Ptr OggOpusFile -> Handle data OggOpusFile openMemoryBS :: ByteString -> IO (Either Int Handle) openMemory :: Ptr CChar -> CInt -> IO (Either Int Handle) free :: Handle -> IO () data Channels Mono :: Channels Stereo :: Channels channelCount :: Handle -> Either Int Channels pcmTotal :: Handle -> Either String Int data Pcm a Pcm :: ForeignPtr a -> Int -> Double -> Either Int Channels -> Pcm a [pcmData] :: Pcm a -> ForeignPtr a [pcmSize] :: Pcm a -> Int [pcmTime] :: Pcm a -> Double [pcmChannels] :: Pcm a -> Either Int Channels decodeInt16 :: Handle -> IO (Pcm Int16) instance GHC.Show.Show Sound.OpusFile.Handle instance GHC.Classes.Eq Sound.OpusFile.Handle instance GHC.Enum.Bounded Sound.OpusFile.Channels instance GHC.Enum.Enum Sound.OpusFile.Channels instance GHC.Show.Show Sound.OpusFile.Channels instance GHC.Classes.Ord Sound.OpusFile.Channels instance GHC.Classes.Eq Sound.OpusFile.Channels instance GHC.Show.Show (Sound.OpusFile.Pcm a) instance GHC.Classes.Eq (Sound.OpusFile.Pcm a)