mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
some more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@23 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
993d1bce74
commit
382e7aefd4
14 changed files with 147 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue