Wait until all data already written is played by the daemon. * Returns zero on success, negative on error.
Flush the playback or record buffer. This discards any audio in the buffer. * Returns zero on success, negative on error.
Close and free the connection to the server. The connection object becomes invalid when this is called.
Return the playback or record latency.
< A pointer where the error code is stored when the routine returns NULL. It is OK to pass NULL here.
< A pointer where the error code is stored when the function returns * a negative value. It is OK to pass NULL here.
Write some data to the server. Returns zero on success, negative on error.
\struct pa_simple * An opaque simple connection object