-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | A binding for the OpenAL Utility Toolkit
--   
--   A Haskell binding for the OpenAL Utility Toolkit, which makes managing
--   of OpenAL contexts, loading sounds in various formats and creating
--   waveforms very easy. For more information about the C library on which
--   this binding is based, please see:
--   <a>http://connect.creativelabs.com/openal/Documentation/The%20OpenAL%20Utility%20Toolkit.pdf</a>.
@package ALUT
@version 2.2.0.0


module Sound.ALUT.Version
alutAPIVersion :: String
alutVersion :: GettableStateVar String


module Sound.ALUT.Loaders
type Phase = Float
type Duration = Float
data SoundDataSource a
File :: FilePath -> SoundDataSource a
FileImage :: (MemoryRegion a) -> SoundDataSource a
HelloWorld :: SoundDataSource a
Sine :: Frequency -> Phase -> Duration -> SoundDataSource a
Square :: Frequency -> Phase -> Duration -> SoundDataSource a
Sawtooth :: Frequency -> Phase -> Duration -> SoundDataSource a
Impulse :: Frequency -> Phase -> Duration -> SoundDataSource a
WhiteNoise :: Duration -> SoundDataSource a
createBuffer :: SoundDataSource a -> IO Buffer
createBufferData :: SoundDataSource a -> IO (BufferData b)
bufferMIMETypes :: GettableStateVar [String]
bufferDataMIMETypes :: GettableStateVar [String]
instance Eq (SoundDataSource a)
instance Ord (SoundDataSource a)
instance Show (SoundDataSource a)


module Sound.ALUT.Sleep
sleep :: Duration -> IO ()


module Sound.ALUT.Initialization
type ArgumentConsumer a = String -> [String] -> a
type Runner a = ArgumentConsumer (IO a) -> IO a
runALUT :: ArgumentConsumer (Runner a)
runALUTUsingCurrentContext :: ArgumentConsumer (Runner a)
withProgNameAndArgs :: (ArgumentConsumer (Runner a)) -> Runner a


-- | A Haskell binding for the OpenAL Utility Toolkit, which makes managing
--   of OpenAL contexts, loading sounds in various formats and creating
--   waveforms very easy. For more information about the C library on which
--   this binding is based, please see:
--   <a>http://www.openal.org/openal_webstf/specs/alut.html</a>.
module Sound.ALUT
