diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-10-30 14:17:41 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-10-30 14:17:41 +0000 |
commit | b03b5741ea689b3bb08b7fef9cc905cae3a5ad99 (patch) | |
tree | d3f1a56002ff4ea742b925cf6d6aa53ebbe23695 /src/pulse/simple.h | |
parent | b84489d8b3f382a847ac9ff2ed56cef2b4762efd (diff) | |
download | pulseaudio-b03b5741ea689b3bb08b7fef9cc905cae3a5ad99.tar.gz |
rename 'length' parameters in the API to 'bytes', to make their unit clear
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1999 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/simple.h')
-rw-r--r-- | src/pulse/simple.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/simple.h b/src/pulse/simple.h index f76c1d67b..0ddd57e05 100644 --- a/src/pulse/simple.h +++ b/src/pulse/simple.h @@ -130,13 +130,13 @@ pa_simple* pa_simple_new( void pa_simple_free(pa_simple *s); /** Write some data to the server */ -int pa_simple_write(pa_simple *s, const void*data, size_t length, int *error); +int pa_simple_write(pa_simple *s, const void*data, size_t bytes, int *error); /** Wait until all data already written is played by the daemon */ int pa_simple_drain(pa_simple *s, int *error); /** Read some data from the server */ -int pa_simple_read(pa_simple *s, void*data, size_t length, int *error); +int pa_simple_read(pa_simple *s, void*data, size_t bytes, int *error); /** Return the playback latency. \since 0.5 */ pa_usec_t pa_simple_get_latency(pa_simple *s, int *error); |