mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Resurrect ability to move streams between sinks
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1649 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
79a586db17
commit
1cecd46d95
4 changed files with 236 additions and 169 deletions
|
|
@ -95,7 +95,7 @@ struct pa_sink_input {
|
|||
/* Some silence to play before the actual data. This is used to
|
||||
* compensate for latency differences when moving a sink input
|
||||
* "hot" between sinks. */
|
||||
/* size_t move_silence; */
|
||||
size_t move_silence;
|
||||
pa_memblock *silence_memblock; /* may be NULL */
|
||||
|
||||
pa_sink_input *sync_prev, *sync_next;
|
||||
|
|
@ -188,4 +188,11 @@ int pa_sink_input_peek(pa_sink_input *i, pa_memchunk *chunk, pa_cvolume *volume)
|
|||
void pa_sink_input_drop(pa_sink_input *i, size_t length);
|
||||
int pa_sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offset, pa_memchunk *chunk);
|
||||
|
||||
typedef struct pa_sink_input_move_info {
|
||||
pa_sink_input *sink_input;
|
||||
pa_sink_input *ghost_sink_input;
|
||||
pa_memblockq *buffer;
|
||||
size_t buffer_bytes;
|
||||
} pa_sink_input_move_info;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue