The OpenD Programming Language

AudioInput.read

Data is delivered as interleaved stereo, LE 16 bit, 44.1 kHz Each item in the array thus alternates between left and right channel and it takes a total of 88,200 items to make one second of sound.

Returns the slice of the buffer actually read into

LINUX ONLY. You should prolly use record instead

struct AudioInput
version(ALSA)
short[]
read
(
short[] buffer
)

Meta