pub unsafe extern "C" fn SoapySDRDevice_writeStream(
    device: *mut SoapySDRDevice,
    stream: *mut SoapySDRStream,
    buffs: *const *const c_void,
    numElems: usize,
    flags: *mut c_int,
    timeNs: c_longlong,
    timeoutUs: c_long
) -> c_int
Expand description

Write elements to a stream for transmission. This is a multi-channel call, and buffs should be an array of void *, where each pointer will be filled with data for a different channel.

Client code compatibility: Client code relies on writeStream() for proper back-pressure. The writeStream() implementation must enforce the timeout such that the call blocks until space becomes available or timeout expiration.

\param device a pointer to a device instance \param stream the opaque pointer to a stream handle \param buffs an array of void* buffers num chans in size \param numElems the number of elements in each buffer \param [in,out] flags optional input flags and output flags \param timeNs the buffer’s timestamp in nanoseconds \param timeoutUs the timeout in microseconds \return the number of elements written per buffer or error