mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Fix renegotiation
When we are idle and are asked to negotiate, suspend first so that we can do full negotiation again instead of using the old format. Stability fixes.
This commit is contained in:
parent
fd54471249
commit
1370fafd5b
10 changed files with 52 additions and 24 deletions
|
|
@ -80,6 +80,12 @@ pinos_main_loop_destroy (PinosMainLoop *loop)
|
|||
free (impl);
|
||||
}
|
||||
|
||||
/**
|
||||
* pinos_main_loop_quit:
|
||||
* @loop: a #PinosMainLoop
|
||||
*
|
||||
* Stop the running @loop.
|
||||
*/
|
||||
void
|
||||
pinos_main_loop_quit (PinosMainLoop *loop)
|
||||
{
|
||||
|
|
@ -88,6 +94,13 @@ pinos_main_loop_quit (PinosMainLoop *loop)
|
|||
impl->running = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* pinos_main_loop_run:
|
||||
* @loop: a #PinosMainLoop
|
||||
*
|
||||
* Start running @loop. This function blocks until pinos_main_loop_quit()
|
||||
* has been called.
|
||||
*/
|
||||
void
|
||||
pinos_main_loop_run (PinosMainLoop *loop)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue