Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
class SFSoundBuffer a where Source
getChannelCount :: a -> IO Int Source
Get the number of channels used by a sound buffer.
If the sound is mono then the number of channels will be 1, 2 for stereo, etc.
getDuration :: a -> IO Time Source
Get the total duration of a sound buffer.