h-raylib-5.5.1.0: Raylib bindings for Haskell
Safe HaskellNone
LanguageHaskell2010

Raylib.Types.Core.Audio

Description

Bindings for types used in raudio

Synopsis

Enumerations

data MusicContextType Source #

data AudioBufferUsage Source #

Structures

data Wave Source #

Constructors

Wave 

Fields

Instances

Instances details
Storable Wave Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

sizeOf :: Wave -> Int

alignment :: Wave -> Int

peekElemOff :: Ptr Wave -> Int -> IO Wave

pokeElemOff :: Ptr Wave -> Int -> Wave -> IO ()

peekByteOff :: Ptr b -> Int -> IO Wave

pokeByteOff :: Ptr b -> Int -> Wave -> IO ()

peek :: Ptr Wave -> IO Wave

poke :: Ptr Wave -> Wave -> IO ()

Show Wave Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

showsPrec :: Int -> Wave -> ShowS

show :: Wave -> String

showList :: [Wave] -> ShowS

Eq Wave Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

(==) :: Wave -> Wave -> Bool

(/=) :: Wave -> Wave -> Bool

Freeable Wave Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

rlFreeDependents :: Wave -> Ptr Wave -> IO () Source #

rlFree :: Wave -> Ptr Wave -> IO () Source #

data RAudioBuffer Source #

Instances

Instances details
Storable RAudioBuffer Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Show RAudioBuffer Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

showsPrec :: Int -> RAudioBuffer -> ShowS

show :: RAudioBuffer -> String

showList :: [RAudioBuffer] -> ShowS

Eq RAudioBuffer Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

(==) :: RAudioBuffer -> RAudioBuffer -> Bool

(/=) :: RAudioBuffer -> RAudioBuffer -> Bool

Freeable RAudioBuffer Source # 
Instance details

Defined in Raylib.Types.Core.Audio

data Sound Source #

Constructors

Sound 

Instances

Instances details
Storable Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

sizeOf :: Sound -> Int

alignment :: Sound -> Int

peekElemOff :: Ptr Sound -> Int -> IO Sound

pokeElemOff :: Ptr Sound -> Int -> Sound -> IO ()

peekByteOff :: Ptr b -> Int -> IO Sound

pokeByteOff :: Ptr b -> Int -> Sound -> IO ()

peek :: Ptr Sound -> IO Sound

poke :: Ptr Sound -> Sound -> IO ()

Show Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

showsPrec :: Int -> Sound -> ShowS

show :: Sound -> String

showList :: [Sound] -> ShowS

Eq Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

(==) :: Sound -> Sound -> Bool

(/=) :: Sound -> Sound -> Bool

Closeable Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Freeable Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

rlFreeDependents :: Sound -> Ptr Sound -> IO () Source #

rlFree :: Sound -> Ptr Sound -> IO () Source #

data Music Source #

Instances

Instances details
Storable Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

sizeOf :: Music -> Int

alignment :: Music -> Int

peekElemOff :: Ptr Music -> Int -> IO Music

pokeElemOff :: Ptr Music -> Int -> Music -> IO ()

peekByteOff :: Ptr b -> Int -> IO Music

pokeByteOff :: Ptr b -> Int -> Music -> IO ()

peek :: Ptr Music -> IO Music

poke :: Ptr Music -> Music -> IO ()

Show Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

showsPrec :: Int -> Music -> ShowS

show :: Music -> String

showList :: [Music] -> ShowS

Eq Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

(==) :: Music -> Music -> Bool

(/=) :: Music -> Music -> Bool

Closeable Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Freeable Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Methods

rlFreeDependents :: Music -> Ptr Music -> IO () Source #

rlFree :: Music -> Ptr Music -> IO () Source #

Pointer utilities

p'wave'data :: Ptr Wave -> Ptr (Ptr CShort) Source #

Callbacks

type AudioCallback = Ptr () -> Integer -> IO () Source #

type C'AudioCallback = FunPtr (Ptr () -> CUInt -> IO ()) Source #