]> code.delx.au - pulseaudio/blobdiff - src/pulse/simple.h
rename 'length' parameters in the API to 'bytes', to make their unit clear
[pulseaudio] / src / pulse / simple.h
index f76c1d67b8bc93f6421861389a56bf31d4bf72b2..0ddd57e0503ce3095763910328092e9c7f43ccef 100644 (file)
@@ -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);