mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-08 10:06:23 -05:00
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:
parent
ca713c08ee
commit
06efc8ffb6
3 changed files with 12 additions and 2 deletions
|
|
@ -621,7 +621,7 @@ static int reply_create_playback_stream(struct stream *stream, struct pw_manager
|
|||
TAG_INVALID);
|
||||
}
|
||||
|
||||
stream->create_tag = SPA_ID_INVALID;
|
||||
stream_created(stream);
|
||||
|
||||
return client_queue_message(client, reply);
|
||||
}
|
||||
|
|
@ -783,7 +783,7 @@ static int reply_create_record_stream(struct stream *stream, struct pw_manager_o
|
|||
TAG_INVALID);
|
||||
}
|
||||
|
||||
stream->create_tag = SPA_ID_INVALID;
|
||||
stream_created(stream);
|
||||
|
||||
return client_queue_message(client, reply);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue