pub unsafe extern "C" fn SoapySDRDevice_acquireWriteBuffer(
    device: *mut SoapySDRDevice,
    stream: *mut SoapySDRStream,
    handle: *mut usize,
    buffs: *mut *mut c_void,
    timeoutUs: c_long
) -> c_int
Expand description

Acquire direct buffers from a transmit stream. This call is part of the direct buffer access API.

The buffs array will be filled with a stream pointer for each channel. Each pointer can be written up to the number of return value elements.

The handle will be set by the implementation so that the caller may later release access to the buffers with releaseWriteBuffer(). Handle represents an index into the internal scatter/gather table such that handle is between 0 and num direct buffers - 1.

\param device a pointer to a device instance \param stream the opaque pointer to a stream handle \param handle an index value used in the release() call \param buffs an array of void* buffers num chans in size \param timeoutUs the timeout in microseconds \return the number of available elements per buffer or error