Safe Haskell | None |
---|---|
Language | Haskell98 |
SFML.Audio.SFSoundBuffer
Documentation
class SFSoundBuffer a where
Methods
getChannelCount :: a -> IO Int
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
Get the total duration of a sound buffer.
Instances