Import with #import "std/audio_android_buffer".

Enter :: ()
Leave :: ()
Install :: ()
Library :: (name: string) -> *void
Resolve :: (library: *void, slot: *void, name: string) -> bool
RenderFloat :: (output: *void, frames: s32)
RenderPCM :: (output: []s16, frames: s32)

OpenSL ES on API 21 accepts signed 16-bit PCM. Convert the mixer's clipped stereo float output without allocating or retaining a caller's buffer.

Source ↗ · All modules