pub unsafe extern "C" fn SoapySDRDevice_getDirectAccessBufferAddrs(
device: *mut SoapySDRDevice,
stream: *mut SoapySDRStream,
handle: usize,
buffs: *mut *mut c_void
) -> c_int
Expand description
Get the buffer addresses for a scatter/gather table entry. When the underlying DMA implementation uses scatter/gather then this call provides the user addresses for that table.
Example: The caller may query the DMA memory addresses once after stream creation to pre-allocate a re-usable ring-buffer.
\param device a pointer to a device instance \param stream the opaque pointer to a stream handle \param handle an index value between 0 and num direct buffers - 1 \param buffs an array of void* buffers num chans in size \return 0 for success or error code when not supported