AudioStream - Factor Documentation

AudioStream


Vocabulary
raylib

Class description
Represents a stream of audio data in Raylib.

Fields
buffer a pointer to the internal data used by the audio system.
processor a pointer to the interanl data processor, useful for audio effects.
sampleRate the frequence of the samples.
sampleSize the bit depth of the samples: spport values are 8, 16, and 32.
channels the number of channels: 1 for mono, 2 for stereo.


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

IN: raylib

STRUCT: AudioStream
{ buffer void* } { processor void* }
{ sampleRate uint initial: 0 }
{ sampleSize uint initial: 0 } { channels uint initial: 0 }
;


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

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


USING: accessors classes.struct combinators.smart raylib ;

M: AudioStream struct-slot-values
{
[ buffer>> ]
[ processor>> ]
[ sampleRate>> ]
[ sampleSize>> ]
[ channels>> ]
} cleave>array ; inline

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