generator-audio-format ( generator -- channels sample-bits sample-rate )
Audio playback engine ยป Audio generator protocol

Prev:generate-audio ( generator -- c-ptr size )


Vocabulary
audio.engine

Inputs
generatoran object implementing the Audio generator protocol


Outputs
channelsan integer
sample-bitsan integer
sample-ratean integer


Word description
Returns the number of channels (1 for mono, 2 for stereo), number of bits per sample, and sample rate in hertz of the PCM data generated by generator.

Definition

GENERIC: generator-audio-format
( generator -- channels sample-bits sample-rate )


Methods