A2

object A2 : FFILib

Properties

Link copied to clipboard
Link copied to clipboard
const val EBADFD: Int = 77
Link copied to clipboard
const val EPIPE: Int = 32
Link copied to clipboard
const val ERROR: Int
Link copied to clipboard
const val ESTRPIPE: Int = 86
Link copied to clipboard
Link copied to clipboard
val lazyCreate: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snd_pcm_close: (pcm: FFIPointer?) -> Int
Link copied to clipboard
val snd_pcm_delay: (pcm: FFIPointer?, delay: FFIPointer?) -> Int
Link copied to clipboard
val snd_pcm_drain: (pcm: FFIPointer?) -> Int
Link copied to clipboard
val snd_pcm_drop: (pcm: FFIPointer?) -> Int
Link copied to clipboard
const val SND_PCM_FORMAT_S16_LE: Int = 2
Link copied to clipboard
val snd_pcm_hw_params: (pcm: FFIPointer?, params: FFIPointer?) -> Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snd_pcm_hw_params_set_access: (pcm: FFIPointer?, params: FFIPointer?, access: Int) -> Int
Link copied to clipboard
val snd_pcm_hw_params_set_channels: (pcm: FFIPointer?, params: FFIPointer?, channels: Int) -> Int
Link copied to clipboard
val snd_pcm_hw_params_set_format: (pcm: FFIPointer?, params: FFIPointer?, format: Int) -> Int
Link copied to clipboard
val snd_pcm_hw_params_set_rate: (pcm: FFIPointer?, params: FFIPointer?, rate: Int, dir: Int) -> Int
Link copied to clipboard
val snd_pcm_name: (pcm: FFIPointer?) -> String?
Link copied to clipboard
Link copied to clipboard
val snd_pcm_open: (pcmPtr: FFIPointerArray, name: String?, stream: Int, mode: Int) -> Int
Link copied to clipboard
Link copied to clipboard
val snd_pcm_recover: (pcm: FFIPointer?, err: Int, silent: Int) -> Int
Link copied to clipboard
val snd_pcm_set_params: (pcm: FFIPointer?, format: Int, access: Int, channels: Int, rate: Int, softResample: Int, latency: Int) -> Int
Link copied to clipboard
val snd_pcm_state: (pcm: FFIPointer?) -> Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snd_pcm_state_name: (state: Int) -> String?
Link copied to clipboard
const val SND_PCM_STATE_OPEN: Int = 0
Link copied to clipboard
const val SND_PCM_STATE_PAUSED: Int = 6
Link copied to clipboard
Link copied to clipboard
const val SND_PCM_STATE_RUNNING: Int = 3
Link copied to clipboard
const val SND_PCM_STATE_SETUP: Int = 1
Link copied to clipboard
Link copied to clipboard
const val SND_PCM_STATE_XRUN: Int = 4
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snd_pcm_wait: (pcm: FFIPointer?, timeout: Int) -> Int
Link copied to clipboard
val snd_pcm_writei: (pcm: FFIPointer?, buffer: ShortArray, size: Int) -> Int
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Function<*>> func(name: String? = null, config: FFIFuncConfig = FFIFuncConfig.DEFAULT): FFILib.FuncInfo<T>
Link copied to clipboard
fun snd_pcm_open(name: String, stream: Int, mode: Int): FFIPointer?
Link copied to clipboard
fun snd_pcm_writei(pcm: FFIPointer?, buffer: ShortArray, offset: Int, size: Int, nframes: Int): Int