-;; (snd_pcm_wait PCM TIMEOUT) - Wait for a PCM to become ready.
-;; Returns a positive value on success otherwise a negative error code
-;; (-EPIPE [-32] for the xrun and -ESTRPIPE [-86] for the suspended
-;; status, others for general errors)
-(import libasound.so "snd_pcm_wait" "int"
- "void*" ; snd_pcm_t *pcm
- "int" ; int timeout
- )
-