Arguments:

A bitmap of the plugins that you want to disable; a bitwise OR of zero or more of the following
(which are the plugins that are currently enabled by default):

PLUGIN_BUFFER_PARTIAL_BLOCKS —
prevent the read and write routines from using partial blocks of data.

The plugin-aware versions of the PCM read and write calls don't require
that you work with multiples of fragment-size blocks (the nonplugin-aware
versions do).
This is because one of the plugins in the lib sub-buffers the data for you.
You can disable this plugin by setting the
PLUGIN_BUFFER_PARTIAL_BLOCKS bit with this
function, in which case the plugin-aware versions also fail on reads and
writes that aren't multiples of the fragment size.

Either way, interleaved stereo data has to be aligned by the sample size
times the number of channels (i.e., each write must have the same number
of samples for the left and right channels).