pulse-server: clear timer when stream is created

Make a function when the stream is created so that we can clear the
create_tag and the timer.
This commit is contained in:
Wim Taymans 2025-09-18 14:22:00 +02:00
parent ca713c08ee
commit 06efc8ffb6
3 changed files with 12 additions and 2 deletions

View file

@ -106,6 +106,7 @@ struct stream {
struct stream *stream_new(struct client *client, enum stream_type type, uint32_t create_tag,
const struct sample_spec *ss, const struct channel_map *map,
const struct buffer_attr *attr);
void stream_created(struct stream *stream);
void stream_free(struct stream *stream);
void stream_flush(struct stream *stream);
uint32_t stream_pop_missing(struct stream *stream);