h-raylib-5.1.3.0: Raylib bindings for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Raylib.Types.Core.Audio

Description

Bindings for types used in raudio

Synopsis

Enumerations

data MusicContextType Source #

Instances

Instances details
Storable MusicContextType Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Enum MusicContextType Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Show MusicContextType Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Eq MusicContextType Source # 
Instance details

Defined in Raylib.Types.Core.Audio

data AudioBufferUsage Source #

Instances

Instances details
Storable AudioBufferUsage Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Enum AudioBufferUsage Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Show AudioBufferUsage Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Eq AudioBufferUsage Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Structures

data Wave Source #

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 #

data Sound Source #

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 #

Freeable Sound Source # 
Instance details

Defined in Raylib.Types.Core.Audio

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 #

Freeable Music Source # 
Instance details

Defined in Raylib.Types.Core.Audio

Pointer utilities

Callbacks

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

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