mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: set pulse.corked on streams
Set the corked state on streams so that we can use this in sink-input and source-output info without guessing. The problem is that when a stream starts un-corked, the state is less than RUNNING and so before this patch, pulse-server reports a corked stream, which is not what pulseaudio reports.
This commit is contained in:
parent
404817592b
commit
9e932ec671
3 changed files with 28 additions and 4 deletions
|
|
@ -107,6 +107,7 @@ void stream_free(struct stream *stream);
|
|||
void stream_flush(struct stream *stream);
|
||||
uint32_t stream_pop_missing(struct stream *stream);
|
||||
|
||||
void stream_set_corked(struct stream *stream, bool corked);
|
||||
void stream_set_paused(struct stream *stream, bool paused, const char *reason);
|
||||
|
||||
int stream_send_underflow(struct stream *stream, int64_t offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue