doc: Refer to seek parameter of pa_stream_write() in description of pa_stream_flush()

pa_stream_write() has no delta parameter, but a seek parameter

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2013-12-16 14:18:14 +01:00 committed by Tanu Kaskinen
parent 05a128c8f7
commit acc5c29018

View file

@ -652,7 +652,7 @@ pa_operation* pa_stream_cork(pa_stream *s, int b, pa_stream_success_cb_t cb, voi
/** Flush the playback buffer of this stream. This discards any audio data /** Flush the playback buffer of this stream. This discards any audio data
* in the buffer. Most of the time you're better off using the parameter * in the buffer. Most of the time you're better off using the parameter
* delta of pa_stream_write() instead of this function. Available on both * \a seek of pa_stream_write() instead of this function. Available on both
* playback and recording streams. */ * playback and recording streams. */
pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *userdata); pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *userdata);