open

suspend fun open(request: AudioFormat): AudioFormat

Opens the device and sizes the ring for it.

Return

the format the device accepted. Resample to this before calling submit.

Parameters

request

the format the decoder produces.