2 ;; typedef enum _snd_pcm_stream
3 'SND_PCM_STREAM_PLAYBACK 0
4 'SND_PCM_STREAM_CAPTURE 1
5 ;; Non blocking mode (flag for open mode)
6 'SND_PCM_NONBLOCK 0x00000001
8 'SND_PCM_ASYNC 0x00000002
11 (import LIB "snd_pcm_open" "int"
12 "void*" ; snd_pcm_t **pcmp [output]
13 "char*" ; const char *name
14 "int" ; snd_pcm_stream_t stream