SFML-2.3.2.2: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.Audio.SFSoundBuffer

Documentation

class SFSoundBuffer a where Source

Methods

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.