summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-26 17:02:26 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-26 17:02:26 +0000
commit5bac3c3ce515cb588f3928431db4fe1c396d53e7 (patch)
tree7ec714219121bee11db5f7f497879e805ea30926 /polyp/polyplib-def.h
parent405fac5ea7070fa7b50a77952fa8042f87f588a8 (diff)
bum version number
add new macro PA_API_VERSION for preprocessor level conditional compiling add new native APIs: - counter - cork & flush for record streams - add flags parameters to pa_stream_connect_xx() - new prebuf command - time api, and total latency calculator - return sample spec ability to cork source output streams dump server status on SIGHUP to syslog show sink input/source outputs status in cli-text.c don't flush esound output buffer when client disconnects move version api to polyplib-version.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@240 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-def.h')
-rw-r--r--polyp/polyplib-def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/polyp/polyplib-def.h b/polyp/polyplib-def.h
index bab23e47..cd0662dd 100644
--- a/polyp/polyplib-def.h
+++ b/polyp/polyplib-def.h
@@ -72,6 +72,11 @@ enum pa_stream_direction {
PA_STREAM_UPLOAD /**< Sample upload stream */
};
+/** Some special flags for stream connections. \since 0.6 */
+enum pa_stream_flags {
+ PA_STREAM_START_CORKED = 1, /**< Create the stream corked, requiring an explicit pa_stream_cork() call to uncork it. */
+};
+
/** Playback and record buffer metrics */
struct pa_buffer_attr{
uint32_t maxlength; /**< Maximum length of the buffer */