summaryrefslogtreecommitdiffstats
path: root/src/sinkinput.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-18 17:12:50 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-18 17:12:50 +0000
commit382e7aefd471a4600010a04e6497d4bfd2fd8663 (patch)
treeadd805dc36fdc446c11a46a0e598e8053ebd8c77 /src/sinkinput.h
parent993d1bce74f4cc5be2bfa69a467aae106e2194ab (diff)
some more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@23 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/sinkinput.h')
-rw-r--r--src/sinkinput.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sinkinput.h b/src/sinkinput.h
index 5e71d210..f62070c4 100644
--- a/src/sinkinput.h
+++ b/src/sinkinput.h
@@ -13,10 +13,13 @@ struct sink_input {
char *name;
struct sink *sink;
struct sample_spec spec;
+ uint8_t volume;
- int (*peek) (struct sink_input *i, struct memchunk *chunk, uint8_t *volume);
+ int (*peek) (struct sink_input *i, struct memchunk *chunk);
void (*drop) (struct sink_input *i, size_t length);
void (*kill) (struct sink_input *i);
+ uint32_t (*get_latency) (struct sink_input *i);
+
void *userdata;
};
@@ -28,5 +31,7 @@ void sink_input_free(struct sink_input* i);
* request destruction of it */
void sink_input_kill(struct sink_input *i);
+uint32_t sink_input_get_latency(struct sink_input *i);
+char *sink_input_list_to_string(struct core *c);
#endif