Sets up block (default) or non-block behaviour for a handle. Block behaviour suspends execution of a program when snd_pcm_read or snd_pcm_write is called for the time which is needed for the actual playback or record over of the selected limit.
In non-block behaviour, programs are not suspended and the above functions return immediately with the count of bytes which were read or written by the driver. When used in this way, do not try to use the entire buffer after the call, but instead process the number of bytes returned, and call the function again.