mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
cleanups
Follow the data/size argument order convention to make the api more consistent.
This commit is contained in:
parent
7f931464e8
commit
5bebfe022b
50 changed files with 253 additions and 252 deletions
|
|
@ -86,8 +86,8 @@ static inline int32_t spa_ringbuffer_get_read_index(struct spa_ringbuffer *rbuf,
|
|||
*
|
||||
* \param rbuf a #struct spa_ringbuffer
|
||||
* \param buffer memory to read from
|
||||
* \param size the size of \a memory
|
||||
* \param offset offset in \a memory to read from
|
||||
* \param size the size of \a buffer
|
||||
* \param offset offset in \a buffer to read from
|
||||
* \param data destination memory
|
||||
* \param len number of bytes to read
|
||||
*/
|
||||
|
|
@ -136,8 +136,8 @@ static inline int32_t spa_ringbuffer_get_write_index(struct spa_ringbuffer *rbuf
|
|||
*
|
||||
* \param rbuf a spa_ringbuffer
|
||||
* \param buffer memory to write to
|
||||
* \param size the size of \a memory
|
||||
* \param offset offset in \a memory to write to
|
||||
* \param size the size of \a buffer
|
||||
* \param offset offset in \a buffer to write to
|
||||
* \param data source memory
|
||||
* \param len number of bytes to write
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue