context: drop RT when freewheeling

When we are freewheeling, drop the RT priority so that we don't
lock up the system too much.
This commit is contained in:
Wim Taymans 2021-07-05 10:41:57 +02:00
parent 9ceb728dec
commit 5e0c9199bd
2 changed files with 35 additions and 0 deletions

View file

@ -450,6 +450,7 @@ struct pw_context {
struct pw_impl_client *current_client; /**< client currently executing code in mainloop */
long sc_pagesize;
unsigned int freewheeling:1;
void *user_data; /**< extra user data */
};