the entire buffer has been filled - this may involve waiting for the operating
system to supply the data.
+ Reading from a stream that is stopped is not currently supported. In particular,
+ it is not possible to drain the read buffer by calling Pa_ReadStream after
+ calling Pa_StopStream.
+
@param stream A pointer to an open stream previously created with Pa_OpenStream.
@param buffer A pointer to a buffer of sample frames. The buffer contains
entire buffer has been written - this may involve waiting for the operating
system to consume the data.
+ Writing to a stream that is stopped is not currently supported. In particular,
+ it is not possible to prefill the write buffer by calling Pa_WriteStream
+ prior to calling Pa_StartStream.
+
@param stream A pointer to an open stream previously created with Pa_OpenStream.
@param buffer A pointer to a buffer of sample frames. The buffer contains
/** Retrieve the number of frames that can be read from the stream without
waiting.
+ When the stream is stopped the return value of Pa_GetStreamReadAvailable is not
+ defined.
+
@return Returns a non-negative value representing the maximum number of frames
that can be read from the stream without blocking or busy waiting or, a
PaErrorCode (which are always negative) if PortAudio is not initialized or an
/** Retrieve the number of frames that can be written to the stream without
waiting.
+ When the stream is stopped the return value of Pa_GetStreamWriteAvailable is not
+ defined.
+
@return Returns a non-negative value representing the maximum number of frames
that can be written to the stream without blocking or busy waiting or, a
PaErrorCode (which are always negative) if PortAudio is not initialized or an