summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-10-27 00:10:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-10-27 00:10:12 +0000
commit148202d432cbb4a303b0008b9ff9d64bdab99a51 (patch)
tree517091453819687756e7f30a273ccab2d89acc27 /polyp/polyplib-internal.h
parentda45617efc5e3be26d6410857a730c94b32fe24b (diff)
support for latency interpolation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@256 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-internal.h')
-rw-r--r--polyp/polyplib-internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/polyp/polyplib-internal.h b/polyp/polyplib-internal.h
index 8a7bf6fb..e49b25d4 100644
--- a/polyp/polyplib-internal.h
+++ b/polyp/polyplib-internal.h
@@ -81,6 +81,7 @@ struct pa_context {
struct pa_stream {
int ref;
struct pa_context *context;
+ struct pa_mainloop_api *mainloop;
PA_LLIST_FIELDS(struct pa_stream);
char *name;
@@ -95,6 +96,13 @@ struct pa_stream {
pa_usec_t previous_time;
enum pa_stream_state state;
+ int interpolate;
+ int corked;
+
+ uint32_t ipol_usec;
+ struct timeval ipol_timestamp;
+ struct pa_time_event *ipol_event;
+
void (*state_callback)(struct pa_stream*c, void *userdata);
void *state_userdata;
@@ -103,6 +111,7 @@ struct pa_stream {
void (*write_callback)(struct pa_stream *p, size_t length, void *userdata);
void *write_userdata;
+
};
struct pa_operation {
@@ -135,4 +144,7 @@ struct pa_operation* pa_context_send_simple_command(struct pa_context *c, uint32
void pa_stream_set_state(struct pa_stream *s, enum pa_stream_state st);
+void pa_stream_trash_ipol(struct pa_stream *s);
+
+
#endif