Music - Factor Documentation

Music


Vocabulary
raylib

Class description
Audio stream, anything longer than ~10 seconds should be streamed.

Fields
stream AudioStream Audio stream
frameCount uint Total number of frames (considering channels)
looping bool Music looping enable
ctxType int Type of music context (audio filetype)
ctxData void* Audio context data, depends on type


Definition
USING: alien.c-types classes.struct ;

IN: raylib

STRUCT: Music
{
stream AudioStream initial: S{ AudioStream
{ buffer f }
{ processor f }
{ sampleRate 0 }
{ sampleSize 0 }
{ channels 0 }
}
} { frameCount uint initial: 0 } { looping bool }
{ ctxType int initial: 0 } { ctxData void* } ;


Methods
USING: classes.struct classes.struct.private kernel raylib ;

M: Music clone clone-underlying \ Music memory>struct ; inline


USING: accessors classes.struct combinators.smart raylib ;

M: Music struct-slot-values
{
[ stream>> ]
[ frameCount>> ]
[ looping>> ]
[ ctxType>> ]
[ ctxData>> ]
} cleave>array ; inline

AltStyle によって変換されたページ (->オリジナル) /