Music


Vocabulary
raylib

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

Fields
streamAudioStreamAudio stream
frameCountuintTotal number of frames (considering channels)
loopingboolMusic looping enable
ctxTypeintType of music context (audio filetype)
ctxDatavoid*Audio context data, depends on type


Definition


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